From 16f1fe5ebe4bc7d81d9a65384855349d08e101c2 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Fri, 22 Nov 2024 18:01:05 -0800 Subject: [PATCH] updating swagger link from main --- ...ationCallAutomationServiceImplBuilder.java | 12 +++++--- .../models/AddParticipantRequestInternal.java | 30 +++++++++---------- .../AddParticipantResponseInternal.java | 3 ++ .../models/AnswerCallRequestInternal.java | 3 ++ .../CallConnectionPropertiesInternal.java | 14 +++++---- .../CallIntelligenceOptionsInternal.java | 3 ++ .../models/CallLocatorInternal.java | 3 ++ .../models/CallParticipantInternal.java | 3 ++ .../models/CancelAddParticipantRequest.java | 12 ++++---- .../models/CancelAddParticipantResponse.java | 3 ++ .../models/ChannelAffinityInternal.java | 5 +++- .../models/ChoiceResultInternal.java | 14 +++++---- .../models/CommunicationError.java | 3 ++ .../models/CommunicationErrorResponse.java | 3 ++ .../models/CommunicationIdentifierModel.java | 3 ++ .../CommunicationUserIdentifierModel.java | 3 ++ .../models/ConnectRequestInternal.java | 3 ++ ...tinuousDtmfRecognitionRequestInternal.java | 12 ++++---- .../models/CreateCallRequestInternal.java | 11 ++++--- .../models/CustomCallingContext.java | 3 ++ .../models/DtmfOptionsInternal.java | 3 ++ .../implementation/models/DtmfResult.java | 3 ++ .../models/FileSourceInternal.java | 3 ++ .../GetParticipantsResponseInternal.java | 3 ++ .../implementation/models/HoldRequest.java | 12 ++++---- .../MicrosoftTeamsAppIdentifierModel.java | 3 ++ .../MicrosoftTeamsUserIdentifierModel.java | 3 ++ .../MuteParticipantsRequestInternal.java | 3 ++ .../MuteParticipantsResultInternal.java | 3 ++ .../models/PhoneNumberIdentifierModel.java | 3 ++ .../models/PlayOptionsInternal.java | 3 ++ .../implementation/models/PlayRequest.java | 12 ++++---- .../models/PlaySourceInternal.java | 3 ++ .../models/RecognitionChoiceInternal.java | 3 ++ .../models/RecognizeOptionsInternal.java | 3 ++ .../models/RecognizeRequest.java | 12 ++++---- .../RecordingStateResponseInternal.java | 3 ++ .../models/RecordingStorageInternal.java | 3 ++ .../models/RedirectCallRequestInternal.java | 3 ++ .../models/RejectCallRequestInternal.java | 3 ++ .../models/RemoveParticipantFailed.java | 11 ++++--- .../RemoveParticipantRequestInternal.java | 12 ++++---- .../RemoveParticipantResponseInternal.java | 3 ++ .../models/RemoveParticipantSucceeded.java | 11 ++++--- .../models/ResultInformation.java | 9 +++--- .../models/SendDtmfTonesRequestInternal.java | 12 ++++---- .../models/SendDtmfTonesResultInternal.java | 3 ++ .../models/SpeechOptionsInternal.java | 3 ++ .../models/SpeechResultInternal.java | 3 ++ .../models/SsmlSourceInternal.java | 3 ++ .../StartCallRecordingRequestInternal.java | 8 +++-- .../models/TextSourceInternal.java | 11 ++++--- .../models/TransferCallResponseInternal.java | 3 ++ .../TransferToParticipantRequestInternal.java | 15 +++++----- .../implementation/models/UnholdRequest.java | 3 ++ .../swagger/README.md | 2 +- 56 files changed, 237 insertions(+), 108 deletions(-) diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java index 6962fe7e0c4eb..8aff348b3ec4e 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java @@ -21,8 +21,8 @@ import com.azure.core.http.policy.AddHeadersFromContextPolicy; import com.azure.core.http.policy.AddHeadersPolicy; import com.azure.core.http.policy.AzureKeyCredentialPolicy; -import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.HttpPipelinePolicy; import com.azure.core.http.policy.HttpPolicyProviders; import com.azure.core.http.policy.RequestIdPolicy; @@ -298,7 +298,8 @@ private HttpPipeline createHttpPipeline() { if (headers.getSize() > 0) { policies.add(new AddHeadersPolicy(headers)); } - this.pipelinePolicies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) .forEach(p -> policies.add(p)); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); @@ -306,12 +307,15 @@ private HttpPipeline createHttpPipeline() { if (azureKeyCredential != null) { policies.add(new AzureKeyCredentialPolicy("Authorization", azureKeyCredential)); } - this.pipelinePolicies.stream().filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) .forEach(p -> policies.add(p)); HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(localHttpLogOptions)); HttpPipeline httpPipeline = new HttpPipelineBuilder().policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient).clientOptions(localClientOptions).build(); + .httpClient(httpClient) + .clientOptions(localClientOptions) + .build(); return httpPipeline; } } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/AddParticipantRequestInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/AddParticipantRequestInternal.java index e5e05a22abef2..2edb1c69f4c2b 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/AddParticipantRequestInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/AddParticipantRequestInternal.java @@ -24,7 +24,7 @@ public final class AddParticipantRequestInternal implements JsonSerializable t } /** - * Get the sourceCallerIdNumber property: The source caller Id, a phone number, that's shown to the PSTN - * participant being invited. + * Get the sourceCallerIdNumber property: The source caller Id, a phone number, that's shown to the PSTN participant + * being invited. * Required only when calling a PSTN callee. * * @return the sourceCallerIdNumber value. @@ -91,8 +91,8 @@ public PhoneNumberIdentifierModel getSourceCallerIdNumber() { } /** - * Set the sourceCallerIdNumber property: The source caller Id, a phone number, that's shown to the PSTN - * participant being invited. + * Set the sourceCallerIdNumber property: The source caller Id, a phone number, that's shown to the PSTN participant + * being invited. * Required only when calling a PSTN callee. * * @param sourceCallerIdNumber the sourceCallerIdNumber value to set. @@ -204,6 +204,9 @@ public CallIntelligenceOptionsInternal getCallIntelligenceOptions() { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CustomCallingContext.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CustomCallingContext.java index 6d09ed6b207c1..5d438677be8e2 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CustomCallingContext.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CustomCallingContext.java @@ -73,6 +73,9 @@ public CustomCallingContext setSipHeaders(Map sipHeaders) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfOptionsInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfOptionsInternal.java index a652ca9708295..6ddb2d2d5eca2 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfOptionsInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfOptionsInternal.java @@ -98,6 +98,9 @@ public DtmfOptionsInternal setStopTones(List stopTones) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfResult.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfResult.java index 5d132f0f0f43c..6d37ec1004cd8 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfResult.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/DtmfResult.java @@ -37,6 +37,9 @@ public List getTones() { return this.tones; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/FileSourceInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/FileSourceInternal.java index c27262a7d2fc9..d792049c6de98 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/FileSourceInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/FileSourceInternal.java @@ -47,6 +47,9 @@ public FileSourceInternal setUri(String uri) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/GetParticipantsResponseInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/GetParticipantsResponseInternal.java index 80d9cd40c7c8a..df9e5573d1c8a 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/GetParticipantsResponseInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/GetParticipantsResponseInternal.java @@ -73,6 +73,9 @@ public GetParticipantsResponseInternal setNextLink(String nextLink) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/HoldRequest.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/HoldRequest.java index 750c710c89e16..47bf9b442c292 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/HoldRequest.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/HoldRequest.java @@ -33,8 +33,7 @@ public final class HoldRequest implements JsonSerializable { /* * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ private String operationCallbackUri; @@ -109,8 +108,7 @@ public HoldRequest setOperationContext(String operationContext) { /** * Get the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @return the operationCallbackUri value. */ @@ -121,8 +119,7 @@ public String getOperationCallbackUri() { /** * Set the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @param operationCallbackUri the operationCallbackUri value to set. * @return the HoldRequest object itself. @@ -132,6 +129,9 @@ public HoldRequest setOperationCallbackUri(String operationCallbackUri) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsAppIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsAppIdentifierModel.java index 172a222005b70..5875a69b16319 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsAppIdentifierModel.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsAppIdentifierModel.java @@ -74,6 +74,9 @@ public MicrosoftTeamsAppIdentifierModel setCloud(CommunicationCloudEnvironmentMo return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsUserIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsUserIdentifierModel.java index 6ba5fac553582..6db8298af22cb 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsUserIdentifierModel.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MicrosoftTeamsUserIdentifierModel.java @@ -99,6 +99,9 @@ public MicrosoftTeamsUserIdentifierModel setCloud(CommunicationCloudEnvironmentM return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsRequestInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsRequestInternal.java index aa376e9a21e0f..a8cdc53007016 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsRequestInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsRequestInternal.java @@ -79,6 +79,9 @@ public MuteParticipantsRequestInternal setOperationContext(String operationConte return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsResultInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsResultInternal.java index 1ccfc824fdd94..9d7de02c7e1f7 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsResultInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/MuteParticipantsResultInternal.java @@ -47,6 +47,9 @@ public MuteParticipantsResultInternal setOperationContext(String operationContex return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java index 3942d005df3b5..5b41cf288520e 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java @@ -47,6 +47,9 @@ public PhoneNumberIdentifierModel setValue(String value) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayOptionsInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayOptionsInternal.java index 97426625cfcf0..0fba42db686e6 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayOptionsInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayOptionsInternal.java @@ -47,6 +47,9 @@ public PlayOptionsInternal setLoop(boolean loop) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayRequest.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayRequest.java index 7183a2a1cccf4..a1427bc60b826 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayRequest.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlayRequest.java @@ -45,8 +45,7 @@ public final class PlayRequest implements JsonSerializable { /* * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ private String operationCallbackUri; @@ -163,8 +162,7 @@ public PlayRequest setOperationContext(String operationContext) { /** * Get the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @return the operationCallbackUri value. */ @@ -175,8 +173,7 @@ public String getOperationCallbackUri() { /** * Set the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @param operationCallbackUri the operationCallbackUri value to set. * @return the PlayRequest object itself. @@ -186,6 +183,9 @@ public PlayRequest setOperationCallbackUri(String operationCallbackUri) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlaySourceInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlaySourceInternal.java index aa69f7876fec7..8be2076406fad 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlaySourceInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PlaySourceInternal.java @@ -147,6 +147,9 @@ public PlaySourceInternal setSsml(SsmlSourceInternal ssml) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognitionChoiceInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognitionChoiceInternal.java index d5876a2ebe776..9832f9743df79 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognitionChoiceInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognitionChoiceInternal.java @@ -98,6 +98,9 @@ public RecognitionChoiceInternal setTone(DtmfToneInternal tone) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeOptionsInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeOptionsInternal.java index 47295613f799d..85abe56d263f7 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeOptionsInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeOptionsInternal.java @@ -223,6 +223,9 @@ public RecognizeOptionsInternal setSpeechOptions(SpeechOptionsInternal speechOpt return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeRequest.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeRequest.java index b8cb6e37e1ede..b312d5a92d8ff 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeRequest.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/RecognizeRequest.java @@ -49,8 +49,7 @@ public final class RecognizeRequest implements JsonSerializable { /* - * Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result - * was unexpected. + * Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ private Integer code; /* - * Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this - * result was unexpected. + * Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ private Integer subCode; @@ -103,6 +101,9 @@ public ResultInformation setMessage(String message) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/SendDtmfTonesRequestInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/SendDtmfTonesRequestInternal.java index 0cfc7b6a05c0d..85d1dbdc40b26 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/SendDtmfTonesRequestInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/SendDtmfTonesRequestInternal.java @@ -34,8 +34,7 @@ public final class SendDtmfTonesRequestInternal implements JsonSerializable audioChannelParticipantOrdering; /* * The channel affinity of call recording - * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be - * automatically assigned. + * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned. * Channel-Participant mapping details can be found in the metadata of the recording. * /// */ @@ -272,6 +271,9 @@ public StartCallRecordingRequestInternal setExternalStorage(RecordingStorageInte return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TextSourceInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TextSourceInternal.java index 8b2135c6c195d..bca77dda1e8d7 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TextSourceInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TextSourceInternal.java @@ -23,9 +23,7 @@ public final class TextSourceInternal implements JsonSerializable + * Refer to available locales here: */ private String sourceLocale; @@ -36,9 +34,7 @@ public final class TextSourceInternal implements JsonSerializable + * Refer to available Text-to-speech voices here: */ private String voiceName; @@ -165,6 +161,9 @@ public TextSourceInternal setCustomVoiceEndpointId(String customVoiceEndpointId) return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferCallResponseInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferCallResponseInternal.java index 2a3cbbaf053c9..751a70c8b46a9 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferCallResponseInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferCallResponseInternal.java @@ -47,6 +47,9 @@ public TransferCallResponseInternal setOperationContext(String operationContext) return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferToParticipantRequestInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferToParticipantRequestInternal.java index ae531215b7a45..042b525c537bd 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferToParticipantRequestInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TransferToParticipantRequestInternal.java @@ -34,8 +34,7 @@ public final class TransferToParticipantRequestInternal /* * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ private String operationCallbackUri; @@ -45,8 +44,7 @@ public final class TransferToParticipantRequestInternal private CustomCallingContext customCallingContext; /* - * The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call - * to a Pstn target. + * The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */ private PhoneNumberIdentifierModel sourceCallerIdNumber; @@ -121,8 +119,7 @@ public TransferToParticipantRequestInternal setTransferee(CommunicationIdentifie /** * Get the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @return the operationCallbackUri value. */ @@ -133,8 +130,7 @@ public String getOperationCallbackUri() { /** * Set the operationCallbackUri property: Set a callback URI that overrides the default callback URI set by * CreateCall/AnswerCall for this operation. - * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be - * used. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. * * @param operationCallbackUri the operationCallbackUri value to set. * @return the TransferToParticipantRequestInternal object itself. @@ -187,6 +183,9 @@ public PhoneNumberIdentifierModel getSourceCallerIdNumber() { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/UnholdRequest.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/UnholdRequest.java index e6d76e8afc936..e4e051b2d1651 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/UnholdRequest.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/UnholdRequest.java @@ -77,6 +77,9 @@ public UnholdRequest setOperationContext(String operationContext) { return this; } + /** + * {@inheritDoc} + */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); diff --git a/sdk/communication/azure-communication-callautomation/swagger/README.md b/sdk/communication/azure-communication-callautomation/swagger/README.md index 57a032e95f1c0..f025f347c31e1 100644 --- a/sdk/communication/azure-communication-callautomation/swagger/README.md +++ b/sdk/communication/azure-communication-callautomation/swagger/README.md @@ -31,7 +31,7 @@ autorest README.md --java --use=@autorest/java@4.1.27 --use=@autorest/modelerfou ``` yaml tag: package-2024-09-15 require: - - https://github.com/Azure/azure-rest-api-specs/blob/b44a937e5a220a6a597ea69cbacb3f3d9916e284/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/5c9d5f957d76d9fea9c513f494660c6c5d3e809a/specification/communication/data-plane/CallAutomation/readme.md java: true output-folder: ../ license-header: MICROSOFT_MIT_SMALL