// Template Source: BaseMethodCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.requests;

import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.RoleAssignmentScheduleRequestFilterByCurrentUserOptions;
import com.microsoft.graph.models.UnifiedRoleAssignmentScheduleRequest;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.requests.UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionRequestBuilder;
import com.microsoft.graph.requests.UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionPage;
import com.microsoft.graph.requests.UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionResponse;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the Unified Role Assignment Schedule Request Filter By Current User Collection Page.
 */
public class UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionPage extends BaseCollectionPage<UnifiedRoleAssignmentScheduleRequest, UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionRequestBuilder> {

    /**
     * A collection page for UnifiedRoleAssignmentScheduleRequest.
     *
     * @param response The serialized UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionResponse from the service
     * @param builder The request builder for the next collection page
     */
    public UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionPage(@Nonnull final UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionResponse response, @Nonnull final UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionRequestBuilder builder) {
       super(response, builder);
    }

	/**
     * Creates the collection page for UnifiedRoleAssignmentScheduleRequestFilterByCurrentUser
     *
     * @param pageContents       the contents of this page
     * @param nextRequestBuilder the request builder for the next page
     */
    public UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionPage(@Nonnull final java.util.List<UnifiedRoleAssignmentScheduleRequest> pageContents, @Nullable final UnifiedRoleAssignmentScheduleRequestFilterByCurrentUserCollectionRequestBuilder nextRequestBuilder) {
        super(pageContents, nextRequestBuilder);
    }
}
