/// <summary>
 /// Gets the request builder for PrintDocumentCreateUploadSession.
 /// </summary>
 /// <returns>The <see cref="IPrintDocumentCreateUploadSessionRequestBuilder"/>.</returns>
 public IPrintDocumentCreateUploadSessionRequestBuilder CreateUploadSession(
     PrintDocumentUploadProperties properties)
 {
     return(new PrintDocumentCreateUploadSessionRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.createUploadSession"),
                this.Client,
                properties));
 }
Beispiel #2
0
 /// <summary>
 /// Constructs a new <see cref="PrintDocumentCreateUploadSessionRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="properties">A properties parameter for the OData method call.</param>
 public PrintDocumentCreateUploadSessionRequestBuilder(
     string requestUrl,
     IBaseClient client,
     PrintDocumentUploadProperties properties)
     : base(requestUrl, client)
 {
     this.SetParameter("properties", properties, false);
 }