From a64905e250b19c7a99629f1a0de55a258756b159 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Thu, 12 Sep 2024 03:28:54 +0400 Subject: [PATCH] fix: Fixed issue with Summary naming and collisions. --- src/libs/AutoSDK/Models/OperationContext.cs | 5 ++-- .../Naming/Models/ModelNameGenerator.cs | 2 +- ...s => _#G.FilesClient.Create.g.verified.cs} | 24 +++++++++---------- ...cs => _#G.FilesClient.Index.g.verified.cs} | 20 ++++++++-------- ...=> _#G.FilesClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...ipelineFamiliesClient.Index.g.verified.cs} | 20 ++++++++-------- ...lineFamiliesClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...> _#G.PointersClient.Create.g.verified.cs} | 24 +++++++++---------- ...> _#G.PointersClient.Delete.g.verified.cs} | 20 ++++++++-------- ...=> _#G.PointersClient.Index.g.verified.cs} | 20 ++++++++-------- ....cs => _#G.RunsClient.Index.g.verified.cs} | 20 ++++++++-------- ... => _#G.RunsClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...ConfigurationsClient.Create.g.verified.cs} | 24 +++++++++---------- ...ConfigurationsClient.Delete.g.verified.cs} | 20 ++++++++-------- ...gConfigurationsClient.Index.g.verified.cs} | 20 ++++++++-------- ...gConfigurationsClient.Patch.g.verified.cs} | 24 +++++++++---------- ... => _#G.TokensClient.Create.g.verified.cs} | 24 +++++++++---------- ... => _#G.TokensClient.Delete.g.verified.cs} | 20 ++++++++-------- ...s => _#G.TokensClient.Index.g.verified.cs} | 20 ++++++++-------- ...s => _#G.TokensClient.Patch.g.verified.cs} | 24 +++++++++---------- ...> _#G.TokensClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...cs => _#G.UsersClient.Index.g.verified.cs} | 20 ++++++++-------- ...s => _#G.FilesClient.Create.g.verified.cs} | 24 +++++++++---------- ...cs => _#G.FilesClient.Index.g.verified.cs} | 20 ++++++++-------- ...=> _#G.FilesClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...ipelineFamiliesClient.Index.g.verified.cs} | 20 ++++++++-------- ...lineFamiliesClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...> _#G.PointersClient.Create.g.verified.cs} | 24 +++++++++---------- ...> _#G.PointersClient.Delete.g.verified.cs} | 20 ++++++++-------- ...=> _#G.PointersClient.Index.g.verified.cs} | 20 ++++++++-------- ....cs => _#G.RunsClient.Index.g.verified.cs} | 20 ++++++++-------- ... => _#G.RunsClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...ConfigurationsClient.Create.g.verified.cs} | 24 +++++++++---------- ...ConfigurationsClient.Delete.g.verified.cs} | 20 ++++++++-------- ...gConfigurationsClient.Index.g.verified.cs} | 20 ++++++++-------- ...gConfigurationsClient.Patch.g.verified.cs} | 24 +++++++++---------- ... => _#G.TokensClient.Create.g.verified.cs} | 24 +++++++++---------- ... => _#G.TokensClient.Delete.g.verified.cs} | 20 ++++++++-------- ...s => _#G.TokensClient.Index.g.verified.cs} | 20 ++++++++-------- ...s => _#G.TokensClient.Patch.g.verified.cs} | 24 +++++++++---------- ...> _#G.TokensClient.Retrieve.g.verified.cs} | 20 ++++++++-------- ...cs => _#G.UsersClient.Index.g.verified.cs} | 20 ++++++++-------- 42 files changed, 428 insertions(+), 427 deletions(-) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.FilesClient.Create4.g.verified.cs => _#G.FilesClient.Create.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.FilesClient.Index7.g.verified.cs => _#G.FilesClient.Index.g.verified.cs} (89%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.FilesClient.Retrieve5.g.verified.cs => _#G.FilesClient.Retrieve.g.verified.cs} (87%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.PipelineFamiliesClient.Index6.g.verified.cs => _#G.PipelineFamiliesClient.Index.g.verified.cs} (92%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs => _#G.PipelineFamiliesClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.PointersClient.Create3.g.verified.cs => _#G.PointersClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.PointersClient.Delete3.g.verified.cs => _#G.PointersClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.PointersClient.Index5.g.verified.cs => _#G.PointersClient.Index.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.RunsClient.Index4.g.verified.cs => _#G.RunsClient.Index.g.verified.cs} (92%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.RunsClient.Retrieve3.g.verified.cs => _#G.RunsClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.ScalingConfigurationsClient.Create5.g.verified.cs => _#G.ScalingConfigurationsClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.ScalingConfigurationsClient.Delete4.g.verified.cs => _#G.ScalingConfigurationsClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.ScalingConfigurationsClient.Index8.g.verified.cs => _#G.ScalingConfigurationsClient.Index.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.ScalingConfigurationsClient.Patch3.g.verified.cs => _#G.ScalingConfigurationsClient.Patch.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.TokensClient.Create2.g.verified.cs => _#G.TokensClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.TokensClient.Delete2.g.verified.cs => _#G.TokensClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.TokensClient.Index3.g.verified.cs => _#G.TokensClient.Index.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.TokensClient.Patch2.g.verified.cs => _#G.TokensClient.Patch.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.TokensClient.Retrieve2.g.verified.cs => _#G.TokensClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/{_#G.UsersClient.Index2.g.verified.cs => _#G.UsersClient.Index.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.FilesClient.Create4.g.verified.cs => _#G.FilesClient.Create.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.FilesClient.Index7.g.verified.cs => _#G.FilesClient.Index.g.verified.cs} (89%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.FilesClient.Retrieve5.g.verified.cs => _#G.FilesClient.Retrieve.g.verified.cs} (87%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.PipelineFamiliesClient.Index6.g.verified.cs => _#G.PipelineFamiliesClient.Index.g.verified.cs} (92%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs => _#G.PipelineFamiliesClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.PointersClient.Create3.g.verified.cs => _#G.PointersClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.PointersClient.Delete3.g.verified.cs => _#G.PointersClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.PointersClient.Index5.g.verified.cs => _#G.PointersClient.Index.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.RunsClient.Index4.g.verified.cs => _#G.RunsClient.Index.g.verified.cs} (92%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.RunsClient.Retrieve3.g.verified.cs => _#G.RunsClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.ScalingConfigurationsClient.Create5.g.verified.cs => _#G.ScalingConfigurationsClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.ScalingConfigurationsClient.Delete4.g.verified.cs => _#G.ScalingConfigurationsClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.ScalingConfigurationsClient.Index8.g.verified.cs => _#G.ScalingConfigurationsClient.Index.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.ScalingConfigurationsClient.Patch3.g.verified.cs => _#G.ScalingConfigurationsClient.Patch.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.TokensClient.Create2.g.verified.cs => _#G.TokensClient.Create.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.TokensClient.Delete2.g.verified.cs => _#G.TokensClient.Delete.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.TokensClient.Index3.g.verified.cs => _#G.TokensClient.Index.g.verified.cs} (90%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.TokensClient.Patch2.g.verified.cs => _#G.TokensClient.Patch.g.verified.cs} (91%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.TokensClient.Retrieve2.g.verified.cs => _#G.TokensClient.Retrieve.g.verified.cs} (88%) rename src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/{_#G.UsersClient.Index2.g.verified.cs => _#G.UsersClient.Index.g.verified.cs} (90%) diff --git a/src/libs/AutoSDK/Models/OperationContext.cs b/src/libs/AutoSDK/Models/OperationContext.cs index 5776f8570b..f298b3a4b9 100644 --- a/src/libs/AutoSDK/Models/OperationContext.cs +++ b/src/libs/AutoSDK/Models/OperationContext.cs @@ -11,10 +11,10 @@ public class OperationContext public required OperationType OperationType { get; init; } public IReadOnlyCollection Schemas { get; set; } = []; - - public string MethodName { get; set; } = string.Empty; public HashSet Tags { get; set; } = []; + + public string MethodName { get; set; } = string.Empty; public static OperationContext FromOperation( Settings settings, @@ -34,6 +34,7 @@ public static OperationContext FromOperation( Schemas = filteredSchemas .Where(schema => schema.Operation == operation) .ToArray(), + Tags = [..operation.Tags.Select(tag => tag.Name)] }; context.MethodName = context.GetMethodName(); diff --git a/src/libs/AutoSDK/Naming/Models/ModelNameGenerator.cs b/src/libs/AutoSDK/Naming/Models/ModelNameGenerator.cs index 9225c921b9..e5a69dc17e 100644 --- a/src/libs/AutoSDK/Naming/Models/ModelNameGenerator.cs +++ b/src/libs/AutoSDK/Naming/Models/ModelNameGenerator.cs @@ -147,7 +147,7 @@ public static void ResolveCollisions(IReadOnlyCollection conte while (true) { var schemasWithCollision = contexts - .GroupBy(x => x.MethodName) + .GroupBy(x => (x.MethodName, x.Tags.FirstOrDefault() ?? string.Empty)) .Where(x => x.Count() > 1) .ToArray(); if (schemasWithCollision.Length == 0) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create.g.verified.cs index e4f1d0e8f4..d399f06156 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Create4.g.cs +//HintName: G.FilesClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class FilesClient { - partial void PrepareCreate4Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.BodyCreateV4FilesPost request); - partial void PrepareCreate4Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.BodyCreateV4FilesPost request); - partial void ProcessCreate4Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate4ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create4Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.BodyCreateV4FilesPost request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate4ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate4Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -60,7 +60,7 @@ partial void ProcessCreate4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate4Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -73,7 +73,7 @@ partial void ProcessCreate4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate4Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessCreate4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate4ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -110,7 +110,7 @@ partial void ProcessCreate4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create4Async( + public async global::System.Threading.Tasks.Task CreateAsync( byte[] pfile, string pfilename, global::System.Threading.CancellationToken cancellationToken = default) @@ -121,7 +121,7 @@ partial void ProcessCreate4ResponseContent( Pfilename = pfilename, }; - return await Create4Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index7.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index.g.verified.cs similarity index 89% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index7.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index.g.verified.cs index 73f027e313..e4d3925895 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index7.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Index7.g.cs +//HintName: G.FilesClient.Index.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class FilesClient { - partial void PrepareIndex7Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref int skip, ref int limit); - partial void PrepareIndex7Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int skip, int limit); - partial void ProcessIndex7Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex7ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -36,14 +36,14 @@ partial void ProcessIndex7ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index7Async( + public async global::System.Threading.Tasks.Task IndexAsync( int skip = 0, int limit = 20, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareIndex7Arguments( + PrepareIndexArguments( httpClient: _httpClient, skip: ref skip, limit: ref limit); @@ -55,7 +55,7 @@ partial void ProcessIndex7ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex7Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, skip: skip, @@ -69,7 +69,7 @@ partial void ProcessIndex7ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex7Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -79,7 +79,7 @@ partial void ProcessIndex7ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex7ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve.g.verified.cs similarity index 87% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve.g.verified.cs index cc547cc22a..6f87efd9f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Retrieve5.g.cs +//HintName: G.FilesClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class FilesClient { - partial void PrepareRetrieve5Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string fileId); - partial void PrepareRetrieve5Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string fileId); - partial void ProcessRetrieve5Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve5ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve5Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string fileId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve5Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, fileId: ref fileId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve5Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, fileId: fileId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve5Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve5ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index.g.verified.cs similarity index 92% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index.g.verified.cs index 1128ea4711..b2ed3c9c7f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PipelineFamiliesClient.Index6.g.cs +//HintName: G.PipelineFamiliesClient.Index.g.cs #nullable enable @@ -6,7 +6,7 @@ namespace G { public partial class PipelineFamiliesClient { - partial void PrepareIndex6Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? userId, ref string? teamId, @@ -15,7 +15,7 @@ partial void PrepareIndex6Arguments( ref bool includeAllRun, ref int skip, ref int limit); - partial void PrepareIndex6Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? userId, @@ -25,11 +25,11 @@ partial void PrepareIndex6Request( bool includeAllRun, int skip, int limit); - partial void ProcessIndex6Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex6ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -58,7 +58,7 @@ partial void ProcessIndex6ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index6Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? userId = default, string? teamId = default, global::G.AllOf? orderBy = default, @@ -70,7 +70,7 @@ partial void ProcessIndex6ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex6Arguments( + PrepareIndexArguments( httpClient: _httpClient, userId: ref userId, teamId: ref teamId, @@ -87,7 +87,7 @@ partial void ProcessIndex6ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex6Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, userId: userId, @@ -106,7 +106,7 @@ partial void ProcessIndex6ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex6Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -116,7 +116,7 @@ partial void ProcessIndex6ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex6ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs index 189e27a351..3632f8b243 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PipelineFamiliesClient.Retrieve4.g.cs +//HintName: G.PipelineFamiliesClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PipelineFamiliesClient { - partial void PrepareRetrieve4Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string pipelineFamilyName); - partial void PrepareRetrieve4Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string pipelineFamilyName); - partial void ProcessRetrieve4Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve4ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -31,13 +31,13 @@ partial void ProcessRetrieve4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve4Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string pipelineFamilyName, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve4Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, pipelineFamilyName: ref pipelineFamilyName); @@ -48,7 +48,7 @@ partial void ProcessRetrieve4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve4Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineFamilyName: pipelineFamilyName); @@ -61,7 +61,7 @@ partial void ProcessRetrieve4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve4Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -71,7 +71,7 @@ partial void ProcessRetrieve4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve4ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create.g.verified.cs index 915d23262e..dac16ebb59 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Create3.g.cs +//HintName: G.PointersClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PointersClient { - partial void PrepareCreate3Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.PointerCreate request); - partial void PrepareCreate3Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.PointerCreate request); - partial void ProcessCreate3Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate3ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create3Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.PointerCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate3ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate3Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -54,7 +54,7 @@ partial void ProcessCreate3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate3Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -67,7 +67,7 @@ partial void ProcessCreate3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate3Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -77,7 +77,7 @@ partial void ProcessCreate3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate3ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -105,7 +105,7 @@ partial void ProcessCreate3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create3Async( + public async global::System.Threading.Tasks.Task CreateAsync( string pointerOrPipelineId, string pointer, bool locked = default, @@ -118,7 +118,7 @@ partial void ProcessCreate3ResponseContent( Locked = locked, }; - return await Create3Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete.g.verified.cs index 7d573487e6..12c016edd1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Delete3.g.cs +//HintName: G.PointersClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PointersClient { - partial void PrepareDelete3Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string pointer); - partial void PrepareDelete3Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string pointer); - partial void ProcessDelete3Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete3ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -28,13 +28,13 @@ partial void ProcessDelete3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete3Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string pointer, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete3Arguments( + PrepareDeleteArguments( httpClient: _httpClient, pointer: ref pointer); @@ -45,7 +45,7 @@ partial void ProcessDelete3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete3Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pointer: pointer); @@ -58,7 +58,7 @@ partial void ProcessDelete3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete3Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -68,7 +68,7 @@ partial void ProcessDelete3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete3ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index.g.verified.cs index 069d2077cb..f9087476e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Index5.g.cs +//HintName: G.PointersClient.Index.g.cs #nullable enable @@ -6,24 +6,24 @@ namespace G { public partial class PointersClient { - partial void PrepareIndex5Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? pipelineName, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex5Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? pipelineName, int skip, int limit, string? orderBy); - partial void ProcessIndex5Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex5ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -45,7 +45,7 @@ partial void ProcessIndex5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index5Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? pipelineName = default, int skip = 0, int limit = 20, @@ -54,7 +54,7 @@ partial void ProcessIndex5ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex5Arguments( + PrepareIndexArguments( httpClient: _httpClient, pipelineName: ref pipelineName, skip: ref skip, @@ -68,7 +68,7 @@ partial void ProcessIndex5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex5Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineName: pipelineName, @@ -84,7 +84,7 @@ partial void ProcessIndex5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex5Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -94,7 +94,7 @@ partial void ProcessIndex5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex5ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index.g.verified.cs similarity index 92% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index.g.verified.cs index 687b4b1e16..02670b5136 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.RunsClient.Index4.g.cs +//HintName: G.RunsClient.Index.g.cs #nullable enable @@ -6,14 +6,14 @@ namespace G { public partial class RunsClient { - partial void PrepareIndex4Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? pipelineId, ref bool includePointers, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex4Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? pipelineId, @@ -21,11 +21,11 @@ partial void PrepareIndex4Request( int skip, int limit, string? orderBy); - partial void ProcessIndex4Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex4ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -56,7 +56,7 @@ partial void ProcessIndex4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index4Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? pipelineId = default, bool includePointers = false, int skip = 0, @@ -66,7 +66,7 @@ partial void ProcessIndex4ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex4Arguments( + PrepareIndexArguments( httpClient: _httpClient, pipelineId: ref pipelineId, includePointers: ref includePointers, @@ -81,7 +81,7 @@ partial void ProcessIndex4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex4Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineId: pipelineId, @@ -98,7 +98,7 @@ partial void ProcessIndex4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex4Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -108,7 +108,7 @@ partial void ProcessIndex4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex4ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve.g.verified.cs index 9fc066d5cc..3d43de021d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.RunsClient.Retrieve3.g.cs +//HintName: G.RunsClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class RunsClient { - partial void PrepareRetrieve3Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string runId); - partial void PrepareRetrieve3Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string runId); - partial void ProcessRetrieve3Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve3ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve3Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string runId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve3Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, runId: ref runId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve3Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, runId: runId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve3Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve3ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs index bc9f9a187c..8047059af6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Create5.g.cs +//HintName: G.ScalingConfigurationsClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareCreate5Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.ScalingConfigCreate request); - partial void PrepareCreate5Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.ScalingConfigCreate request); - partial void ProcessCreate5Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate5ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create5Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.ScalingConfigCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate5ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate5Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -54,7 +54,7 @@ partial void ProcessCreate5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate5Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -67,7 +67,7 @@ partial void ProcessCreate5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate5Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -77,7 +77,7 @@ partial void ProcessCreate5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate5ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -113,7 +113,7 @@ partial void ProcessCreate5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create5Async( + public async global::System.Threading.Tasks.Task CreateAsync( string name, global::G.ScalingConfigCreateArgs args, int minimumNodes = 0, @@ -130,7 +130,7 @@ partial void ProcessCreate5ResponseContent( Args = args, }; - return await Create5Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs index 725bef1151..ab848ddb9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Delete4.g.cs +//HintName: G.ScalingConfigurationsClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareDelete4Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string name); - partial void PrepareDelete4Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name); - partial void ProcessDelete4Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete4ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessDelete4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete4Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string name, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete4Arguments( + PrepareDeleteArguments( httpClient: _httpClient, name: ref name); @@ -46,7 +46,7 @@ partial void ProcessDelete4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete4Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, name: name); @@ -59,7 +59,7 @@ partial void ProcessDelete4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete4Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessDelete4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete4ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs index 772c2b53d8..048bb297e9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Index8.g.cs +//HintName: G.ScalingConfigurationsClient.Index.g.cs #nullable enable @@ -6,24 +6,24 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareIndex8Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref bool @public, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex8Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool @public, int skip, int limit, string? orderBy); - partial void ProcessIndex8Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex8ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -44,7 +44,7 @@ partial void ProcessIndex8ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index8Async( + public async global::System.Threading.Tasks.Task IndexAsync( bool @public = false, int skip = 0, int limit = 20, @@ -53,7 +53,7 @@ partial void ProcessIndex8ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex8Arguments( + PrepareIndexArguments( httpClient: _httpClient, @public: ref @public, skip: ref skip, @@ -67,7 +67,7 @@ partial void ProcessIndex8ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex8Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, @public: @public, @@ -83,7 +83,7 @@ partial void ProcessIndex8ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex8Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -93,7 +93,7 @@ partial void ProcessIndex8ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex8ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs index 7a12cab129..77bc1cc444 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Patch3.g.cs +//HintName: G.ScalingConfigurationsClient.Patch.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PreparePatch3Arguments( + partial void PreparePatchArguments( global::System.Net.Http.HttpClient httpClient, ref string name, global::G.ScalingConfigPatch request); - partial void PreparePatch3Request( + partial void PreparePatchRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, global::G.ScalingConfigPatch request); - partial void ProcessPatch3Response( + partial void ProcessPatchResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessPatch3ResponseContent( + partial void ProcessPatchResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -32,7 +32,7 @@ partial void ProcessPatch3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch3Async( + public async global::System.Threading.Tasks.Task PatchAsync( string name, global::G.ScalingConfigPatch request, global::System.Threading.CancellationToken cancellationToken = default) @@ -41,7 +41,7 @@ partial void ProcessPatch3ResponseContent( PrepareArguments( client: _httpClient); - PreparePatch3Arguments( + PreparePatchArguments( httpClient: _httpClient, name: ref name, request: request); @@ -59,7 +59,7 @@ partial void ProcessPatch3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PreparePatch3Request( + PreparePatchRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, name: name, @@ -73,7 +73,7 @@ partial void ProcessPatch3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessPatch3Response( + ProcessPatchResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessPatch3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessPatch3ResponseContent( + ProcessPatchResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -115,7 +115,7 @@ partial void ProcessPatch3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch3Async( + public async global::System.Threading.Tasks.Task PatchAsync( string name, global::G.ScalingConfigType? type = default, global::G.ScalingConfigPatchArgs? args = default, @@ -131,7 +131,7 @@ partial void ProcessPatch3ResponseContent( MaximumNodes = maximumNodes, }; - return await Patch3Async( + return await PatchAsync( name: name, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create.g.verified.cs index 52796cb251..cf1dd0f913 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Create2.g.cs +//HintName: G.TokensClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareCreate2Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.TokenCreate request); - partial void PrepareCreate2Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.TokenCreate request); - partial void ProcessCreate2Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate2ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -30,7 +30,7 @@ partial void ProcessCreate2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create2Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.TokenCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -38,7 +38,7 @@ partial void ProcessCreate2ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate2Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -55,7 +55,7 @@ partial void ProcessCreate2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate2Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -68,7 +68,7 @@ partial void ProcessCreate2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate2Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -78,7 +78,7 @@ partial void ProcessCreate2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate2ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -106,7 +106,7 @@ partial void ProcessCreate2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create2Async( + public async global::System.Threading.Tasks.Task CreateAsync( string? name = default, global::System.DateTime expiresAt = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -117,7 +117,7 @@ partial void ProcessCreate2ResponseContent( ExpiresAt = expiresAt, }; - return await Create2Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete.g.verified.cs index 2f13ff3647..3fb9433fb5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Delete2.g.cs +//HintName: G.TokensClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareDelete2Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId); - partial void PrepareDelete2Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId); - partial void ProcessDelete2Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete2ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessDelete2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete2Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string tokenId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete2Arguments( + PrepareDeleteArguments( httpClient: _httpClient, tokenId: ref tokenId); @@ -46,7 +46,7 @@ partial void ProcessDelete2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete2Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId); @@ -59,7 +59,7 @@ partial void ProcessDelete2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete2Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessDelete2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete2ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index.g.verified.cs index 86855317b1..867d5aaf82 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Index3.g.cs +//HintName: G.TokensClient.Index.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class TokensClient { - partial void PrepareIndex3Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref bool allTeam, ref int skip, ref int limit); - partial void PrepareIndex3Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool allTeam, int skip, int limit); - partial void ProcessIndex3Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex3ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -41,7 +41,7 @@ partial void ProcessIndex3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index3Async( + public async global::System.Threading.Tasks.Task IndexAsync( bool allTeam = false, int skip = 0, int limit = 20, @@ -49,7 +49,7 @@ partial void ProcessIndex3ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex3Arguments( + PrepareIndexArguments( httpClient: _httpClient, allTeam: ref allTeam, skip: ref skip, @@ -62,7 +62,7 @@ partial void ProcessIndex3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex3Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, allTeam: allTeam, @@ -77,7 +77,7 @@ partial void ProcessIndex3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex3Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -87,7 +87,7 @@ partial void ProcessIndex3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex3ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch.g.verified.cs index 352f609935..37cc32686c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Patch.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Patch2.g.cs +//HintName: G.TokensClient.Patch.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class TokensClient { - partial void PreparePatch2Arguments( + partial void PreparePatchArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId, global::G.TokenPatch request); - partial void PreparePatch2Request( + partial void PreparePatchRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId, global::G.TokenPatch request); - partial void ProcessPatch2Response( + partial void ProcessPatchResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessPatch2ResponseContent( + partial void ProcessPatchResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -32,7 +32,7 @@ partial void ProcessPatch2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch2Async( + public async global::System.Threading.Tasks.Task PatchAsync( string tokenId, global::G.TokenPatch request, global::System.Threading.CancellationToken cancellationToken = default) @@ -41,7 +41,7 @@ partial void ProcessPatch2ResponseContent( PrepareArguments( client: _httpClient); - PreparePatch2Arguments( + PreparePatchArguments( httpClient: _httpClient, tokenId: ref tokenId, request: request); @@ -59,7 +59,7 @@ partial void ProcessPatch2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PreparePatch2Request( + PreparePatchRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId, @@ -73,7 +73,7 @@ partial void ProcessPatch2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessPatch2Response( + ProcessPatchResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessPatch2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessPatch2ResponseContent( + ProcessPatchResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -111,7 +111,7 @@ partial void ProcessPatch2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch2Async( + public async global::System.Threading.Tasks.Task PatchAsync( string tokenId, string? name = default, bool isEnabled = default, @@ -123,7 +123,7 @@ partial void ProcessPatch2ResponseContent( IsEnabled = isEnabled, }; - return await Patch2Async( + return await PatchAsync( tokenId: tokenId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve.g.verified.cs index 985cd116ac..03a3ba5f87 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Retrieve2.g.cs +//HintName: G.TokensClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareRetrieve2Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId); - partial void PrepareRetrieve2Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId); - partial void ProcessRetrieve2Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve2ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve2Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string tokenId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve2Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, tokenId: ref tokenId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve2Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve2Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve2ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index.g.verified.cs index 27a5be91bc..238cd51331 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.UsersClient.Index2.g.cs +//HintName: G.UsersClient.Index.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class UsersClient { - partial void PrepareIndex2Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex2Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int skip, int limit, string? orderBy); - partial void ProcessIndex2Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex2ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -39,7 +39,7 @@ partial void ProcessIndex2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index2Async( + public async global::System.Threading.Tasks.Task IndexAsync( int skip = 0, int limit = 20, string? orderBy = default, @@ -47,7 +47,7 @@ partial void ProcessIndex2ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex2Arguments( + PrepareIndexArguments( httpClient: _httpClient, skip: ref skip, limit: ref limit, @@ -60,7 +60,7 @@ partial void ProcessIndex2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex2Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, skip: skip, @@ -75,7 +75,7 @@ partial void ProcessIndex2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex2Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -85,7 +85,7 @@ partial void ProcessIndex2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex2ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create.g.verified.cs index 4a73bc54a2..9cf4d938a7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Create4.g.cs +//HintName: G.FilesClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class FilesClient { - partial void PrepareCreate4Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.BodyCreateV4FilesPost request); - partial void PrepareCreate4Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.BodyCreateV4FilesPost request); - partial void ProcessCreate4Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate4ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create4Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.BodyCreateV4FilesPost request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate4ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate4Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -60,7 +60,7 @@ partial void ProcessCreate4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate4Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -73,7 +73,7 @@ partial void ProcessCreate4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate4Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessCreate4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate4ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -110,7 +110,7 @@ partial void ProcessCreate4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create4Async( + public async global::System.Threading.Tasks.Task CreateAsync( byte[] pfile, string pfilename, global::System.Threading.CancellationToken cancellationToken = default) @@ -121,7 +121,7 @@ partial void ProcessCreate4ResponseContent( Pfilename = pfilename, }; - return await Create4Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index7.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index.g.verified.cs similarity index 89% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index7.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index.g.verified.cs index 896cd74052..3299d48302 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index7.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Index7.g.cs +//HintName: G.FilesClient.Index.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class FilesClient { - partial void PrepareIndex7Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref int skip, ref int limit); - partial void PrepareIndex7Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int skip, int limit); - partial void ProcessIndex7Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex7ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -36,14 +36,14 @@ partial void ProcessIndex7ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index7Async( + public async global::System.Threading.Tasks.Task IndexAsync( int skip = 0, int limit = 20, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareIndex7Arguments( + PrepareIndexArguments( httpClient: _httpClient, skip: ref skip, limit: ref limit); @@ -55,7 +55,7 @@ partial void ProcessIndex7ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex7Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, skip: skip, @@ -69,7 +69,7 @@ partial void ProcessIndex7ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex7Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -79,7 +79,7 @@ partial void ProcessIndex7ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex7ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve.g.verified.cs similarity index 87% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve.g.verified.cs index 6dbc63c832..1295e2fcc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.FilesClient.Retrieve5.g.cs +//HintName: G.FilesClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class FilesClient { - partial void PrepareRetrieve5Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string fileId); - partial void PrepareRetrieve5Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string fileId); - partial void ProcessRetrieve5Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve5ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve5Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string fileId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve5Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, fileId: ref fileId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve5Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, fileId: fileId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve5Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve5ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index.g.verified.cs similarity index 92% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index.g.verified.cs index c86cdf38b1..93a791f97a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index6.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PipelineFamiliesClient.Index6.g.cs +//HintName: G.PipelineFamiliesClient.Index.g.cs #nullable enable @@ -6,7 +6,7 @@ namespace G { public partial class PipelineFamiliesClient { - partial void PrepareIndex6Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? userId, ref string? teamId, @@ -15,7 +15,7 @@ partial void PrepareIndex6Arguments( ref bool includeAllRun, ref int skip, ref int limit); - partial void PrepareIndex6Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? userId, @@ -25,11 +25,11 @@ partial void PrepareIndex6Request( bool includeAllRun, int skip, int limit); - partial void ProcessIndex6Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex6ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -58,7 +58,7 @@ partial void ProcessIndex6ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index6Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? userId = default, string? teamId = default, global::G.AllOf? orderBy = default, @@ -70,7 +70,7 @@ partial void ProcessIndex6ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex6Arguments( + PrepareIndexArguments( httpClient: _httpClient, userId: ref userId, teamId: ref teamId, @@ -87,7 +87,7 @@ partial void ProcessIndex6ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex6Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, userId: userId, @@ -106,7 +106,7 @@ partial void ProcessIndex6ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex6Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -116,7 +116,7 @@ partial void ProcessIndex6ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex6ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs index b70a2163b1..9e10dc8d85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PipelineFamiliesClient.Retrieve4.g.cs +//HintName: G.PipelineFamiliesClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PipelineFamiliesClient { - partial void PrepareRetrieve4Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string pipelineFamilyName); - partial void PrepareRetrieve4Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string pipelineFamilyName); - partial void ProcessRetrieve4Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve4ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -31,13 +31,13 @@ partial void ProcessRetrieve4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve4Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string pipelineFamilyName, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve4Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, pipelineFamilyName: ref pipelineFamilyName); @@ -48,7 +48,7 @@ partial void ProcessRetrieve4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve4Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineFamilyName: pipelineFamilyName); @@ -61,7 +61,7 @@ partial void ProcessRetrieve4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve4Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -71,7 +71,7 @@ partial void ProcessRetrieve4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve4ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create.g.verified.cs index 471e4971aa..9dca5e88b3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Create3.g.cs +//HintName: G.PointersClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PointersClient { - partial void PrepareCreate3Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.PointerCreate request); - partial void PrepareCreate3Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.PointerCreate request); - partial void ProcessCreate3Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate3ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create3Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.PointerCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate3ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate3Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -54,7 +54,7 @@ partial void ProcessCreate3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate3Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -67,7 +67,7 @@ partial void ProcessCreate3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate3Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -77,7 +77,7 @@ partial void ProcessCreate3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate3ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -105,7 +105,7 @@ partial void ProcessCreate3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create3Async( + public async global::System.Threading.Tasks.Task CreateAsync( string pointerOrPipelineId, string pointer, bool locked = default, @@ -118,7 +118,7 @@ partial void ProcessCreate3ResponseContent( Locked = locked, }; - return await Create3Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete.g.verified.cs index 5cadc08dd4..5fd2362ace 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Delete3.g.cs +//HintName: G.PointersClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class PointersClient { - partial void PrepareDelete3Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string pointer); - partial void PrepareDelete3Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string pointer); - partial void ProcessDelete3Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete3ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -28,13 +28,13 @@ partial void ProcessDelete3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete3Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string pointer, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete3Arguments( + PrepareDeleteArguments( httpClient: _httpClient, pointer: ref pointer); @@ -45,7 +45,7 @@ partial void ProcessDelete3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete3Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pointer: pointer); @@ -58,7 +58,7 @@ partial void ProcessDelete3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete3Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -68,7 +68,7 @@ partial void ProcessDelete3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete3ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index.g.verified.cs index e961ea488e..7c65fe344d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.PointersClient.Index5.g.cs +//HintName: G.PointersClient.Index.g.cs #nullable enable @@ -6,24 +6,24 @@ namespace G { public partial class PointersClient { - partial void PrepareIndex5Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? pipelineName, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex5Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? pipelineName, int skip, int limit, string? orderBy); - partial void ProcessIndex5Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex5ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -45,7 +45,7 @@ partial void ProcessIndex5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index5Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? pipelineName = default, int skip = 0, int limit = 20, @@ -54,7 +54,7 @@ partial void ProcessIndex5ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex5Arguments( + PrepareIndexArguments( httpClient: _httpClient, pipelineName: ref pipelineName, skip: ref skip, @@ -68,7 +68,7 @@ partial void ProcessIndex5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex5Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineName: pipelineName, @@ -84,7 +84,7 @@ partial void ProcessIndex5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex5Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -94,7 +94,7 @@ partial void ProcessIndex5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex5ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index.g.verified.cs similarity index 92% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index.g.verified.cs index 331ab34c1f..c8cad8c0b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.RunsClient.Index4.g.cs +//HintName: G.RunsClient.Index.g.cs #nullable enable @@ -6,14 +6,14 @@ namespace G { public partial class RunsClient { - partial void PrepareIndex4Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref string? pipelineId, ref bool includePointers, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex4Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? pipelineId, @@ -21,11 +21,11 @@ partial void PrepareIndex4Request( int skip, int limit, string? orderBy); - partial void ProcessIndex4Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex4ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -56,7 +56,7 @@ partial void ProcessIndex4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index4Async( + public async global::System.Threading.Tasks.Task IndexAsync( string? pipelineId = default, bool includePointers = false, int skip = 0, @@ -66,7 +66,7 @@ partial void ProcessIndex4ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex4Arguments( + PrepareIndexArguments( httpClient: _httpClient, pipelineId: ref pipelineId, includePointers: ref includePointers, @@ -81,7 +81,7 @@ partial void ProcessIndex4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex4Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, pipelineId: pipelineId, @@ -98,7 +98,7 @@ partial void ProcessIndex4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex4Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -108,7 +108,7 @@ partial void ProcessIndex4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex4ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve.g.verified.cs index faeac56831..f13b38573c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.RunsClient.Retrieve3.g.cs +//HintName: G.RunsClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class RunsClient { - partial void PrepareRetrieve3Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string runId); - partial void PrepareRetrieve3Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string runId); - partial void ProcessRetrieve3Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve3ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve3Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string runId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve3Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, runId: ref runId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve3Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, runId: runId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve3Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve3ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs index 6b8b50d68a..8651639b73 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create5.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Create5.g.cs +//HintName: G.ScalingConfigurationsClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareCreate5Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.ScalingConfigCreate request); - partial void PrepareCreate5Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.ScalingConfigCreate request); - partial void ProcessCreate5Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate5ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,7 +29,7 @@ partial void ProcessCreate5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create5Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.ScalingConfigCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -37,7 +37,7 @@ partial void ProcessCreate5ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate5Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -54,7 +54,7 @@ partial void ProcessCreate5ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate5Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -67,7 +67,7 @@ partial void ProcessCreate5ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate5Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -77,7 +77,7 @@ partial void ProcessCreate5ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate5ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -113,7 +113,7 @@ partial void ProcessCreate5ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create5Async( + public async global::System.Threading.Tasks.Task CreateAsync( string name, global::G.ScalingConfigCreateArgs args, int minimumNodes = 0, @@ -130,7 +130,7 @@ partial void ProcessCreate5ResponseContent( Args = args, }; - return await Create5Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs index b101738828..bad32b595c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete4.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Delete4.g.cs +//HintName: G.ScalingConfigurationsClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareDelete4Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string name); - partial void PrepareDelete4Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name); - partial void ProcessDelete4Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete4ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessDelete4ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete4Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string name, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete4Arguments( + PrepareDeleteArguments( httpClient: _httpClient, name: ref name); @@ -46,7 +46,7 @@ partial void ProcessDelete4ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete4Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, name: name); @@ -59,7 +59,7 @@ partial void ProcessDelete4ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete4Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessDelete4ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete4ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs index 9289c1e984..4af79c7873 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index8.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Index8.g.cs +//HintName: G.ScalingConfigurationsClient.Index.g.cs #nullable enable @@ -6,24 +6,24 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PrepareIndex8Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref bool @public, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex8Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool @public, int skip, int limit, string? orderBy); - partial void ProcessIndex8Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex8ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -44,7 +44,7 @@ partial void ProcessIndex8ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index8Async( + public async global::System.Threading.Tasks.Task IndexAsync( bool @public = false, int skip = 0, int limit = 20, @@ -53,7 +53,7 @@ partial void ProcessIndex8ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex8Arguments( + PrepareIndexArguments( httpClient: _httpClient, @public: ref @public, skip: ref skip, @@ -67,7 +67,7 @@ partial void ProcessIndex8ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex8Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, @public: @public, @@ -83,7 +83,7 @@ partial void ProcessIndex8ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex8Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -93,7 +93,7 @@ partial void ProcessIndex8ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex8ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs index 4b09bb0519..6ed273e7a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.Patch.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.ScalingConfigurationsClient.Patch3.g.cs +//HintName: G.ScalingConfigurationsClient.Patch.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class ScalingConfigurationsClient { - partial void PreparePatch3Arguments( + partial void PreparePatchArguments( global::System.Net.Http.HttpClient httpClient, ref string name, global::G.ScalingConfigPatch request); - partial void PreparePatch3Request( + partial void PreparePatchRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, global::G.ScalingConfigPatch request); - partial void ProcessPatch3Response( + partial void ProcessPatchResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessPatch3ResponseContent( + partial void ProcessPatchResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -32,7 +32,7 @@ partial void ProcessPatch3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch3Async( + public async global::System.Threading.Tasks.Task PatchAsync( string name, global::G.ScalingConfigPatch request, global::System.Threading.CancellationToken cancellationToken = default) @@ -41,7 +41,7 @@ partial void ProcessPatch3ResponseContent( PrepareArguments( client: _httpClient); - PreparePatch3Arguments( + PreparePatchArguments( httpClient: _httpClient, name: ref name, request: request); @@ -59,7 +59,7 @@ partial void ProcessPatch3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PreparePatch3Request( + PreparePatchRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, name: name, @@ -73,7 +73,7 @@ partial void ProcessPatch3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessPatch3Response( + ProcessPatchResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessPatch3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessPatch3ResponseContent( + ProcessPatchResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -115,7 +115,7 @@ partial void ProcessPatch3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch3Async( + public async global::System.Threading.Tasks.Task PatchAsync( string name, global::G.ScalingConfigType? type = default, global::G.ScalingConfigPatchArgs? args = default, @@ -131,7 +131,7 @@ partial void ProcessPatch3ResponseContent( MaximumNodes = maximumNodes, }; - return await Patch3Async( + return await PatchAsync( name: name, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create.g.verified.cs index d3ef49b23a..c74bcb4b74 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Create.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Create2.g.cs +//HintName: G.TokensClient.Create.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareCreate2Arguments( + partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, global::G.TokenCreate request); - partial void PrepareCreate2Request( + partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.TokenCreate request); - partial void ProcessCreate2Response( + partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreate2ResponseContent( + partial void ProcessCreateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -30,7 +30,7 @@ partial void ProcessCreate2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create2Async( + public async global::System.Threading.Tasks.Task CreateAsync( global::G.TokenCreate request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -38,7 +38,7 @@ partial void ProcessCreate2ResponseContent( PrepareArguments( client: _httpClient); - PrepareCreate2Arguments( + PrepareCreateArguments( httpClient: _httpClient, request: request); @@ -55,7 +55,7 @@ partial void ProcessCreate2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareCreate2Request( + PrepareCreateRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, request: request); @@ -68,7 +68,7 @@ partial void ProcessCreate2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessCreate2Response( + ProcessCreateResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -78,7 +78,7 @@ partial void ProcessCreate2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessCreate2ResponseContent( + ProcessCreateResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -106,7 +106,7 @@ partial void ProcessCreate2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Create2Async( + public async global::System.Threading.Tasks.Task CreateAsync( string? name = default, global::System.DateTime expiresAt = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -117,7 +117,7 @@ partial void ProcessCreate2ResponseContent( ExpiresAt = expiresAt, }; - return await Create2Async( + return await CreateAsync( request: request, cancellationToken: cancellationToken).ConfigureAwait(false); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete.g.verified.cs index 078f606604..0c53572a72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Delete.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Delete2.g.cs +//HintName: G.TokensClient.Delete.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareDelete2Arguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId); - partial void PrepareDelete2Request( + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId); - partial void ProcessDelete2Response( + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDelete2ResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessDelete2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Delete2Async( + public async global::System.Threading.Tasks.Task DeleteAsync( string tokenId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareDelete2Arguments( + PrepareDeleteArguments( httpClient: _httpClient, tokenId: ref tokenId); @@ -46,7 +46,7 @@ partial void ProcessDelete2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareDelete2Request( + PrepareDeleteRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId); @@ -59,7 +59,7 @@ partial void ProcessDelete2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessDelete2Response( + ProcessDeleteResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessDelete2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessDelete2ResponseContent( + ProcessDeleteResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index3.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index.g.verified.cs index 3cc221bb35..950413eea1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index3.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Index3.g.cs +//HintName: G.TokensClient.Index.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class TokensClient { - partial void PrepareIndex3Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref bool allTeam, ref int skip, ref int limit); - partial void PrepareIndex3Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool allTeam, int skip, int limit); - partial void ProcessIndex3Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex3ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -41,7 +41,7 @@ partial void ProcessIndex3ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index3Async( + public async global::System.Threading.Tasks.Task IndexAsync( bool allTeam = false, int skip = 0, int limit = 20, @@ -49,7 +49,7 @@ partial void ProcessIndex3ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex3Arguments( + PrepareIndexArguments( httpClient: _httpClient, allTeam: ref allTeam, skip: ref skip, @@ -62,7 +62,7 @@ partial void ProcessIndex3ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex3Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, allTeam: allTeam, @@ -77,7 +77,7 @@ partial void ProcessIndex3ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex3Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -87,7 +87,7 @@ partial void ProcessIndex3ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex3ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch.g.verified.cs similarity index 91% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch.g.verified.cs index 32f2d125b1..4786f1bbf8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Patch.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Patch2.g.cs +//HintName: G.TokensClient.Patch.g.cs #nullable enable @@ -6,20 +6,20 @@ namespace G { public partial class TokensClient { - partial void PreparePatch2Arguments( + partial void PreparePatchArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId, global::G.TokenPatch request); - partial void PreparePatch2Request( + partial void PreparePatchRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId, global::G.TokenPatch request); - partial void ProcessPatch2Response( + partial void ProcessPatchResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessPatch2ResponseContent( + partial void ProcessPatchResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -32,7 +32,7 @@ partial void ProcessPatch2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch2Async( + public async global::System.Threading.Tasks.Task PatchAsync( string tokenId, global::G.TokenPatch request, global::System.Threading.CancellationToken cancellationToken = default) @@ -41,7 +41,7 @@ partial void ProcessPatch2ResponseContent( PrepareArguments( client: _httpClient); - PreparePatch2Arguments( + PreparePatchArguments( httpClient: _httpClient, tokenId: ref tokenId, request: request); @@ -59,7 +59,7 @@ partial void ProcessPatch2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PreparePatch2Request( + PreparePatchRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId, @@ -73,7 +73,7 @@ partial void ProcessPatch2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessPatch2Response( + ProcessPatchResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -83,7 +83,7 @@ partial void ProcessPatch2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessPatch2ResponseContent( + ProcessPatchResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); @@ -111,7 +111,7 @@ partial void ProcessPatch2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Patch2Async( + public async global::System.Threading.Tasks.Task PatchAsync( string tokenId, string? name = default, bool isEnabled = default, @@ -123,7 +123,7 @@ partial void ProcessPatch2ResponseContent( IsEnabled = isEnabled, }; - return await Patch2Async( + return await PatchAsync( tokenId: tokenId, request: request, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve.g.verified.cs similarity index 88% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve.g.verified.cs index 3e617c8747..c372e3927c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.Retrieve.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.TokensClient.Retrieve2.g.cs +//HintName: G.TokensClient.Retrieve.g.cs #nullable enable @@ -6,18 +6,18 @@ namespace G { public partial class TokensClient { - partial void PrepareRetrieve2Arguments( + partial void PrepareRetrieveArguments( global::System.Net.Http.HttpClient httpClient, ref string tokenId); - partial void PrepareRetrieve2Request( + partial void PrepareRetrieveRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string tokenId); - partial void ProcessRetrieve2Response( + partial void ProcessRetrieveResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessRetrieve2ResponseContent( + partial void ProcessRetrieveResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -29,13 +29,13 @@ partial void ProcessRetrieve2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Retrieve2Async( + public async global::System.Threading.Tasks.Task RetrieveAsync( string tokenId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); - PrepareRetrieve2Arguments( + PrepareRetrieveArguments( httpClient: _httpClient, tokenId: ref tokenId); @@ -46,7 +46,7 @@ partial void ProcessRetrieve2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareRetrieve2Request( + PrepareRetrieveRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, tokenId: tokenId); @@ -59,7 +59,7 @@ partial void ProcessRetrieve2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessRetrieve2Response( + ProcessRetrieveResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -69,7 +69,7 @@ partial void ProcessRetrieve2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessRetrieve2ResponseContent( + ProcessRetrieveResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index.g.verified.cs similarity index 90% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index2.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index.g.verified.cs index eb5a9b6570..213a4550d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index2.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.Index.g.verified.cs @@ -1,4 +1,4 @@ -//HintName: G.UsersClient.Index2.g.cs +//HintName: G.UsersClient.Index.g.cs #nullable enable @@ -6,22 +6,22 @@ namespace G { public partial class UsersClient { - partial void PrepareIndex2Arguments( + partial void PrepareIndexArguments( global::System.Net.Http.HttpClient httpClient, ref int skip, ref int limit, ref string? orderBy); - partial void PrepareIndex2Request( + partial void PrepareIndexRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int skip, int limit, string? orderBy); - partial void ProcessIndex2Response( + partial void ProcessIndexResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessIndex2ResponseContent( + partial void ProcessIndexResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -39,7 +39,7 @@ partial void ProcessIndex2ResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Index2Async( + public async global::System.Threading.Tasks.Task IndexAsync( int skip = 0, int limit = 20, string? orderBy = default, @@ -47,7 +47,7 @@ partial void ProcessIndex2ResponseContent( { PrepareArguments( client: _httpClient); - PrepareIndex2Arguments( + PrepareIndexArguments( httpClient: _httpClient, skip: ref skip, limit: ref limit, @@ -60,7 +60,7 @@ partial void ProcessIndex2ResponseContent( PrepareRequest( client: _httpClient, request: httpRequest); - PrepareIndex2Request( + PrepareIndexRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, skip: skip, @@ -75,7 +75,7 @@ partial void ProcessIndex2ResponseContent( ProcessResponse( client: _httpClient, response: response); - ProcessIndex2Response( + ProcessIndexResponse( httpClient: _httpClient, httpResponseMessage: response); @@ -85,7 +85,7 @@ partial void ProcessIndex2ResponseContent( client: _httpClient, response: response, content: ref __content); - ProcessIndex2ResponseContent( + ProcessIndexResponseContent( httpClient: _httpClient, httpResponseMessage: response, content: ref __content);