Esempio n. 1
0
 /// <summary>
 /// Gets the request builder for SynchronizationJobRestart.
 /// </summary>
 /// <returns>The <see cref="ISynchronizationJobRestartRequestBuilder"/>.</returns>
 public ISynchronizationJobRestartRequestBuilder Restart(
     SynchronizationJobRestartCriteria criteria = null)
 {
     return(new SynchronizationJobRestartRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.restart"),
                this.Client,
                criteria));
 }
 /// <summary>
 /// Constructs a new <see cref="SynchronizationJobRestartRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="criteria">A criteria parameter for the OData method call.</param>
 public SynchronizationJobRestartRequestBuilder(
     string requestUrl,
     IBaseClient client,
     SynchronizationJobRestartCriteria criteria)
     : base(requestUrl, client)
 {
     this.SetParameter("criteria", criteria, true);
 }