Beispiel #1
0
 /// <summary>
 /// Constructs a new <see cref="PrintJobRedirectRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="destinationPrinterId">A destinationPrinterId parameter for the OData method call.</param>
 /// <param name="configuration">A configuration parameter for the OData method call.</param>
 public PrintJobRedirectRequestBuilder(
     string requestUrl,
     IBaseClient client,
     string destinationPrinterId,
     PrintJobConfiguration configuration)
     : base(requestUrl, client)
 {
     this.SetParameter("destinationPrinterId", destinationPrinterId, true);
     this.SetParameter("configuration", configuration, true);
 }
Beispiel #2
0
 /// <summary>
 /// Gets the request builder for PrintJobRedirect.
 /// </summary>
 /// <returns>The <see cref="IPrintJobRedirectRequestBuilder"/>.</returns>
 public IPrintJobRedirectRequestBuilder Redirect(
     string destinationPrinterId         = null,
     PrintJobConfiguration configuration = null)
 {
     return(new PrintJobRedirectRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.redirect"),
                this.Client,
                destinationPrinterId,
                configuration));
 }