From ac523d7d02e027960b99022ecd844495528cd117 Mon Sep 17 00:00:00 2001 From: Richard Cho Date: Mon, 13 Feb 2023 08:51:14 -0800 Subject: [PATCH] update swagger --- .../src/Generated/CallConnectionRestClient.cs | 6 +++--- ...zation.cs => RemoveParticipantsRequest.Serialization.cs} | 2 +- ...pantsRequestInternal.cs => RemoveParticipantsRequest.cs} | 6 +++--- ...questInternal.cs => RemoveParticipantRequestInternal.cs} | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) rename sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/{RemoveParticipantsRequestInternal.Serialization.cs => RemoveParticipantsRequest.Serialization.cs} (91%) rename sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/{RemoveParticipantsRequestInternal.cs => RemoveParticipantsRequest.cs} (85%) rename sdk/communication/Azure.Communication.CallAutomation/src/Models/{RemoveParticipantsRequestInternal.cs => RemoveParticipantRequestInternal.cs} (62%) diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs index 1dfd048410de3..b5c8d51fac364 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs @@ -500,7 +500,7 @@ public Response AddParticipant(string callConne } } - internal HttpMessage CreateRemoveParticipantsRequest(string callConnectionId, RemoveParticipantsRequestInternal removeParticipantsRequest, Guid? repeatabilityRequestID, string repeatabilityFirstSent) + internal HttpMessage CreateRemoveParticipantsRequest(string callConnectionId, RemoveParticipantsRequest removeParticipantsRequest, Guid? repeatabilityRequestID, string repeatabilityFirstSent) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -535,7 +535,7 @@ internal HttpMessage CreateRemoveParticipantsRequest(string callConnectionId, Re /// If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. /// The cancellation token to use. /// or is null. - public async Task> RemoveParticipantsAsync(string callConnectionId, RemoveParticipantsRequestInternal removeParticipantsRequest, Guid? repeatabilityRequestID = null, string repeatabilityFirstSent = null, CancellationToken cancellationToken = default) + public async Task> RemoveParticipantsAsync(string callConnectionId, RemoveParticipantsRequest removeParticipantsRequest, Guid? repeatabilityRequestID = null, string repeatabilityFirstSent = null, CancellationToken cancellationToken = default) { if (callConnectionId == null) { @@ -569,7 +569,7 @@ public async Task> RemoveParticipantsAsync(st /// If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. /// The cancellation token to use. /// or is null. - public Response RemoveParticipants(string callConnectionId, RemoveParticipantsRequestInternal removeParticipantsRequest, Guid? repeatabilityRequestID = null, string repeatabilityFirstSent = null, CancellationToken cancellationToken = default) + public Response RemoveParticipants(string callConnectionId, RemoveParticipantsRequest removeParticipantsRequest, Guid? repeatabilityRequestID = null, string repeatabilityFirstSent = null, CancellationToken cancellationToken = default) { if (callConnectionId == null) { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.Serialization.cs similarity index 91% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.Serialization.cs index d96dceb5370da..7956f60e2a186 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.Serialization.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.CallAutomation { - internal partial class RemoveParticipantsRequestInternal : IUtf8JsonSerializable + public partial class RemoveParticipantsRequest : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.cs similarity index 85% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.cs index d7cfe6df34350..fc25f8b9e6021 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RemoveParticipantsRequest.cs @@ -14,12 +14,12 @@ namespace Azure.Communication.CallAutomation { /// The remove participant by identifier request. - internal partial class RemoveParticipantsRequestInternal + public partial class RemoveParticipantsRequest { - /// Initializes a new instance of RemoveParticipantsRequestInternal. + /// Initializes a new instance of RemoveParticipantsRequest. /// The participants to be removed from the call. /// is null. - public RemoveParticipantsRequestInternal(IEnumerable participantsToRemove) + public RemoveParticipantsRequest(IEnumerable participantsToRemove) { Argument.AssertNotNull(participantsToRemove, nameof(participantsToRemove)); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantsRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantRequestInternal.cs similarity index 62% rename from sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantsRequestInternal.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantRequestInternal.cs index 6bb3f559f9750..03652dc642676 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantsRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RemoveParticipantRequestInternal.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.CallAutomation { - [CodeGenModel("RemoveParticipantsRequest")] - internal partial class RemoveParticipantsRequestInternal + [CodeGenModel("RemoveParticipantRequest")] + internal partial class RemoveParticipantRequestInternal { } }