/// <summary> /// Constructs a new <see cref="DeviceManagementExchangeConnectorSyncRequestBuilder"/>. /// </summary> /// <param name="requestUrl">The URL for the request.</param> /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param> /// <param name="syncType">A syncType parameter for the OData method call.</param> public DeviceManagementExchangeConnectorSyncRequestBuilder( string requestUrl, IBaseClient client, DeviceManagementExchangeConnectorSyncType syncType) : base(requestUrl, client) { this.SetParameter("syncType", syncType, false); }
/// <summary> /// Gets the request builder for DeviceManagementExchangeConnectorSync. /// </summary> /// <returns>The <see cref="IDeviceManagementExchangeConnectorSyncRequestBuilder"/>.</returns> public IDeviceManagementExchangeConnectorSyncRequestBuilder Sync( DeviceManagementExchangeConnectorSyncType syncType) { return(new DeviceManagementExchangeConnectorSyncRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.sync"), this.Client, syncType)); }