예제 #1
0
 /// <summary>
 /// Gets the request builder for SegmentForward.
 /// </summary>
 /// <returns>The <see cref="ISegmentForwardRequestBuilder"/>.</returns>
 public ISegmentForwardRequestBuilder Forward(
     IEnumerable <Microsoft.Graph.Recipient> ToRecipients,
     Microsoft.Graph.Recipient SingleRecipient,
     IEnumerable <Session> MultipleSessions,
     Session SingleSession,
     string Comment = null)
 {
     return(new SegmentForwardRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph2.callRecords.forward"),
                this.Client,
                ToRecipients,
                SingleRecipient,
                MultipleSessions,
                SingleSession,
                Comment));
 }
예제 #2
0
 /// <summary>
 /// Constructs a new <see cref="SegmentForwardRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="Microsoft.Graph.IBaseClient"/> for handling requests.</param>
 /// <param name="ToRecipients">A ToRecipients parameter for the OData method call.</param>
 /// <param name="SingleRecipient">A SingleRecipient parameter for the OData method call.</param>
 /// <param name="MultipleSessions">A MultipleSessions parameter for the OData method call.</param>
 /// <param name="SingleSession">A SingleSession parameter for the OData method call.</param>
 /// <param name="Comment">A Comment parameter for the OData method call.</param>
 public SegmentForwardRequestBuilder(
     string requestUrl,
     Microsoft.Graph.IBaseClient client,
     IEnumerable <Microsoft.Graph.Recipient> ToRecipients,
     Microsoft.Graph.Recipient SingleRecipient,
     IEnumerable <Session> MultipleSessions,
     Session SingleSession,
     string Comment)
     : base(requestUrl, client)
 {
     this.SetParameter("toRecipients", ToRecipients, false);
     this.SetParameter("singleRecipient", SingleRecipient, false);
     this.SetParameter("multipleSessions", MultipleSessions, false);
     this.SetParameter("singleSession", SingleSession, false);
     this.SetParameter("comment", Comment, true);
 }