Skip to content

Commit

Permalink
Merge pull request #2 from navali-msft/2021-11-15
Browse files Browse the repository at this point in the history
merge with latest changes
  • Loading branch information
satyakonmsft authored Sep 26, 2021
2 parents e27da7a + 61deb6a commit 612bc09
Show file tree
Hide file tree
Showing 44 changed files with 3,782 additions and 1,160 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public AzureCommunicationCallingServerServiceImplBuilder addPolicy(HttpPipelineP
*/
public AzureCommunicationCallingServerServiceImpl buildClient() {
if (apiVersion == null) {
this.apiVersion = "2021-09-15-preview";
this.apiVersion = "2021-11-15-preview";
}
if (pipeline == null) {
this.pipeline = createHttpPipeline();
Expand Down Expand Up @@ -227,4 +227,4 @@ private HttpPipeline createHttpPipeline() {
.build();
return httpPipeline;
}
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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;
}
}
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;
}
}
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;
}
}
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;
}
}
Loading

0 comments on commit 612bc09

Please sign in to comment.