-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from navali-msft/2021-11-15
merge with latest changes
- Loading branch information
Showing
44 changed files
with
3,782 additions
and
1,160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,099 changes: 721 additions & 378 deletions
1,099
...c/main/java/com/azure/communication/callingserver/implementation/CallConnectionsImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,252 changes: 521 additions & 731 deletions
1,252
...r/src/main/java/com/azure/communication/callingserver/implementation/ServerCallsImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
...mmunication/callingserver/implementation/models/AddParticipantWithCallLocatorRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The add participant request with call locator. */ | ||
@Fluent | ||
public final class AddParticipantWithCallLocatorRequest { | ||
/* | ||
* The call locator. | ||
*/ | ||
@JsonProperty(value = "callLocator", required = true) | ||
private CallLocatorModel callLocator; | ||
|
||
/* | ||
* The add participant request. | ||
*/ | ||
@JsonProperty(value = "addParticipantRequest", required = true) | ||
private AddParticipantRequest addParticipantRequest; | ||
|
||
/** | ||
* Get the callLocator property: The call locator. | ||
* | ||
* @return the callLocator value. | ||
*/ | ||
public CallLocatorModel getCallLocator() { | ||
return this.callLocator; | ||
} | ||
|
||
/** | ||
* Set the callLocator property: The call locator. | ||
* | ||
* @param callLocator the callLocator value to set. | ||
* @return the AddParticipantWithCallLocatorRequest object itself. | ||
*/ | ||
public AddParticipantWithCallLocatorRequest setCallLocator(CallLocatorModel callLocator) { | ||
this.callLocator = callLocator; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the addParticipantRequest property: The add participant request. | ||
* | ||
* @return the addParticipantRequest value. | ||
*/ | ||
public AddParticipantRequest getAddParticipantRequest() { | ||
return this.addParticipantRequest; | ||
} | ||
|
||
/** | ||
* Set the addParticipantRequest property: The add participant request. | ||
* | ||
* @param addParticipantRequest the addParticipantRequest value to set. | ||
* @return the AddParticipantWithCallLocatorRequest object itself. | ||
*/ | ||
public AddParticipantWithCallLocatorRequest setAddParticipantRequest(AddParticipantRequest addParticipantRequest) { | ||
this.addParticipantRequest = addParticipantRequest; | ||
return this; | ||
} | ||
} |
145 changes: 145 additions & 0 deletions
145
...n/java/com/azure/communication/callingserver/implementation/models/AnswerCallRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.communication.callingserver.models.EventSubscriptionType; | ||
import com.azure.communication.callingserver.models.MediaType; | ||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.List; | ||
|
||
/** The request payload for answering the call. */ | ||
@Fluent | ||
public final class AnswerCallRequest { | ||
/* | ||
* The context associated with the call. | ||
*/ | ||
@JsonProperty(value = "incomingCallContext") | ||
private String incomingCallContext; | ||
|
||
/* | ||
* The number of participant that the application can handle for the call. | ||
*/ | ||
@JsonProperty(value = "participantCapacity") | ||
private Integer participantCapacity; | ||
|
||
/* | ||
* The callback url. | ||
*/ | ||
@JsonProperty(value = "callbackUrl", required = true) | ||
private String callbackUrl; | ||
|
||
/* | ||
* The requested modalities. | ||
*/ | ||
@JsonProperty(value = "requestedMediaTypes") | ||
private List<MediaType> requestedMediaTypes; | ||
|
||
/* | ||
* The requested call events to subscribe to. | ||
*/ | ||
@JsonProperty(value = "requestedCallEvents") | ||
private List<EventSubscriptionType> requestedCallEvents; | ||
|
||
/** | ||
* Get the incomingCallContext property: The context associated with the call. | ||
* | ||
* @return the incomingCallContext value. | ||
*/ | ||
public String getIncomingCallContext() { | ||
return this.incomingCallContext; | ||
} | ||
|
||
/** | ||
* Set the incomingCallContext property: The context associated with the call. | ||
* | ||
* @param incomingCallContext the incomingCallContext value to set. | ||
* @return the AnswerCallRequest object itself. | ||
*/ | ||
public AnswerCallRequest setIncomingCallContext(String incomingCallContext) { | ||
this.incomingCallContext = incomingCallContext; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the participantCapacity property: The number of participant that the application can handle for the call. | ||
* | ||
* @return the participantCapacity value. | ||
*/ | ||
public Integer getParticipantCapacity() { | ||
return this.participantCapacity; | ||
} | ||
|
||
/** | ||
* Set the participantCapacity property: The number of participant that the application can handle for the call. | ||
* | ||
* @param participantCapacity the participantCapacity value to set. | ||
* @return the AnswerCallRequest object itself. | ||
*/ | ||
public AnswerCallRequest setParticipantCapacity(Integer participantCapacity) { | ||
this.participantCapacity = participantCapacity; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the callbackUrl property: The callback url. | ||
* | ||
* @return the callbackUrl value. | ||
*/ | ||
public String getCallbackUrl() { | ||
return this.callbackUrl; | ||
} | ||
|
||
/** | ||
* Set the callbackUrl property: The callback url. | ||
* | ||
* @param callbackUrl the callbackUrl value to set. | ||
* @return the AnswerCallRequest object itself. | ||
*/ | ||
public AnswerCallRequest setCallbackUrl(String callbackUrl) { | ||
this.callbackUrl = callbackUrl; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the requestedMediaTypes property: The requested modalities. | ||
* | ||
* @return the requestedMediaTypes value. | ||
*/ | ||
public List<MediaType> getRequestedMediaTypes() { | ||
return this.requestedMediaTypes; | ||
} | ||
|
||
/** | ||
* Set the requestedMediaTypes property: The requested modalities. | ||
* | ||
* @param requestedMediaTypes the requestedMediaTypes value to set. | ||
* @return the AnswerCallRequest object itself. | ||
*/ | ||
public AnswerCallRequest setRequestedMediaTypes(List<MediaType> requestedMediaTypes) { | ||
this.requestedMediaTypes = requestedMediaTypes; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the requestedCallEvents property: The requested call events to subscribe to. | ||
* | ||
* @return the requestedCallEvents value. | ||
*/ | ||
public List<EventSubscriptionType> getRequestedCallEvents() { | ||
return this.requestedCallEvents; | ||
} | ||
|
||
/** | ||
* Set the requestedCallEvents property: The requested call events to subscribe to. | ||
* | ||
* @param requestedCallEvents the requestedCallEvents value to set. | ||
* @return the AnswerCallRequest object itself. | ||
*/ | ||
public AnswerCallRequest setRequestedCallEvents(List<EventSubscriptionType> requestedCallEvents) { | ||
this.requestedCallEvents = requestedCallEvents; | ||
return this; | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...in/java/com/azure/communication/callingserver/implementation/models/AnswerCallResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The response payload of the answer call operation. */ | ||
@Fluent | ||
public final class AnswerCallResult { | ||
/* | ||
* The call connection id. | ||
*/ | ||
@JsonProperty(value = "callConnectionId") | ||
private String callConnectionId; | ||
|
||
/** | ||
* Get the callConnectionId property: The call connection id. | ||
* | ||
* @return the callConnectionId value. | ||
*/ | ||
public String getCallConnectionId() { | ||
return this.callConnectionId; | ||
} | ||
|
||
/** | ||
* Set the callConnectionId property: The call connection id. | ||
* | ||
* @param callConnectionId the callConnectionId value to set. | ||
* @return the AnswerCallResult object itself. | ||
*/ | ||
public AnswerCallResult setCallConnectionId(String callConnectionId) { | ||
this.callConnectionId = callConnectionId; | ||
return this; | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...com/azure/communication/callingserver/implementation/models/AnswerCallResultInternal.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The response payload of the answer call operation. */ | ||
@Fluent | ||
public final class AnswerCallResultInternal { | ||
/* | ||
* The call connection id. | ||
*/ | ||
@JsonProperty(value = "callConnectionId") | ||
private String callConnectionId; | ||
|
||
/** | ||
* Get the callConnectionId property: The call connection id. | ||
* | ||
* @return the callConnectionId value. | ||
*/ | ||
public String getCallConnectionId() { | ||
return this.callConnectionId; | ||
} | ||
|
||
/** | ||
* Set the callConnectionId property: The call connection id. | ||
* | ||
* @param callConnectionId the callConnectionId value to set. | ||
* @return the AnswerCallResultInternal object itself. | ||
*/ | ||
public AnswerCallResultInternal setCallConnectionId(String callConnectionId) { | ||
this.callConnectionId = callConnectionId; | ||
return this; | ||
} | ||
} |
Oops, something went wrong.