/// <summary> /// Gets the request builder for AppConsentRequestFilterByCurrentUser. /// </summary> /// <returns>The <see cref="IAppConsentRequestFilterByCurrentUserRequestBuilder"/>.</returns> public IAppConsentRequestFilterByCurrentUserRequestBuilder FilterByCurrentUser( ConsentRequestFilterByCurrentUserOptions on) { return(new AppConsentRequestFilterByCurrentUserRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.filterByCurrentUser"), this.Client, on)); }
/// <summary> /// Constructs a new <see cref="UserConsentRequestFilterByCurrentUserRequestBuilder"/>. /// </summary> /// <param name="requestUrl">The URL for the request.</param> /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param> /// <param name="on">A on parameter for the OData method call.</param> public UserConsentRequestFilterByCurrentUserRequestBuilder( string requestUrl, IBaseClient client, ConsentRequestFilterByCurrentUserOptions on) : base(requestUrl, client) { this.SetParameter("on", on, false); this.SetFunctionParameters(); }