Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new <see cref="UserFindMeetingTimesRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="attendees">A attendees parameter for the OData method call.</param>
 /// <param name="locationConstraint">A locationConstraint parameter for the OData method call.</param>
 /// <param name="timeConstraint">A timeConstraint parameter for the OData method call.</param>
 /// <param name="meetingDuration">A meetingDuration parameter for the OData method call.</param>
 /// <param name="maxCandidates">A maxCandidates parameter for the OData method call.</param>
 /// <param name="isOrganizerOptional">A isOrganizerOptional parameter for the OData method call.</param>
 /// <param name="returnSuggestionReasons">A returnSuggestionReasons parameter for the OData method call.</param>
 /// <param name="minimumAttendeePercentage">A minimumAttendeePercentage parameter for the OData method call.</param>
 public UserFindMeetingTimesRequestBuilder(
     string requestUrl,
     IBaseClient client,
     IEnumerable <AttendeeBase> attendees,
     LocationConstraint locationConstraint,
     TimeConstraint timeConstraint,
     Duration meetingDuration,
     Int32?maxCandidates,
     bool?isOrganizerOptional,
     bool?returnSuggestionReasons,
     double?minimumAttendeePercentage)
     : base(requestUrl, client)
 {
     this.SetParameter("attendees", attendees, true);
     this.SetParameter("locationConstraint", locationConstraint, true);
     this.SetParameter("timeConstraint", timeConstraint, true);
     this.SetParameter("meetingDuration", meetingDuration, true);
     this.SetParameter("maxCandidates", maxCandidates, true);
     this.SetParameter("isOrganizerOptional", isOrganizerOptional, true);
     this.SetParameter("returnSuggestionReasons", returnSuggestionReasons, true);
     this.SetParameter("minimumAttendeePercentage", minimumAttendeePercentage, true);
 }
 /// <summary>
 /// Gets the request builder for UserFindMeetingTimes.
 /// </summary>
 /// <returns>The <see cref="IUserFindMeetingTimesRequestBuilder"/>.</returns>
 public IUserFindMeetingTimesRequestBuilder FindMeetingTimes(
     IEnumerable <AttendeeBase> attendees  = null,
     LocationConstraint locationConstraint = null,
     TimeConstraint timeConstraint         = null,
     Duration meetingDuration         = null,
     Int32?maxCandidates              = null,
     bool?isOrganizerOptional         = null,
     bool?returnSuggestionReasons     = null,
     double?minimumAttendeePercentage = null)
 {
     return(new UserFindMeetingTimesRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.findMeetingTimes"),
                this.Client,
                attendees,
                locationConstraint,
                timeConstraint,
                meetingDuration,
                maxCandidates,
                isOrganizerOptional,
                returnSuggestionReasons,
                minimumAttendeePercentage));
 }
 /// <summary>
 /// Gets the request builder for UserFindMeetingTimes.
 /// </summary>
 /// <returns>The <see cref="IUserFindMeetingTimesRequestBuilder"/>.</returns>
 public IUserFindMeetingTimesRequestBuilder FindMeetingTimes(
     IEnumerable <AttendeeBase> Attendees  = null,
     LocationConstraint LocationConstraint = null,
     TimeConstraint TimeConstraint         = null,
     Duration MeetingDuration         = null,
     Int32?MaxCandidates              = null,
     bool?IsOrganizerOptional         = null,
     bool?ReturnSuggestionReasons     = null,
     double?MinimumAttendeePercentage = null)
 {
     return(new UserFindMeetingTimesRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.findMeetingTimes"),
                this.Client,
                Attendees,
                LocationConstraint,
                TimeConstraint,
                MeetingDuration,
                MaxCandidates,
                IsOrganizerOptional,
                ReturnSuggestionReasons,
                MinimumAttendeePercentage));
 }