/// <summary>
 /// Gets the request builder for CallAnswer.
 /// </summary>
 /// <returns>The <see cref="ICallAnswerRequestBuilder"/>.</returns>
 public ICallAnswerRequestBuilder Answer(
     string callbackUri,
     MediaConfig mediaConfig,
     IEnumerable <Modality> acceptedModalities = null)
 {
     return(new CallAnswerRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.answer"),
                this.Client,
                callbackUri,
                mediaConfig,
                acceptedModalities));
 }
 /// <summary>
 /// Constructs a new <see cref="CallAnswerRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="callbackUri">A callbackUri parameter for the OData method call.</param>
 /// <param name="mediaConfig">A mediaConfig parameter for the OData method call.</param>
 /// <param name="acceptedModalities">A acceptedModalities parameter for the OData method call.</param>
 public CallAnswerRequestBuilder(
     string requestUrl,
     IBaseClient client,
     string callbackUri,
     MediaConfig mediaConfig,
     IEnumerable <Modality> acceptedModalities)
     : base(requestUrl, client)
 {
     this.SetParameter("callbackUri", callbackUri, false);
     this.SetParameter("mediaConfig", mediaConfig, false);
     this.SetParameter("acceptedModalities", acceptedModalities, true);
 }