// Template Source: BaseEntityCollectionPage.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.models.PrintServiceEndpoint;
import com.microsoft.graph.requests.PrintServiceEndpointCollectionRequestBuilder;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.requests.PrintServiceEndpointCollectionResponse;
import com.microsoft.graph.http.BaseCollectionPage;

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

/**
 * The class for the Print Service Endpoint Collection Page.
 */
public class PrintServiceEndpointCollectionPage extends BaseCollectionPage<PrintServiceEndpoint, PrintServiceEndpointCollectionRequestBuilder> {

    /**
     * A collection page for PrintServiceEndpoint
     *
     * @param response the serialized PrintServiceEndpointCollectionResponse from the service
     * @param builder  the request builder for the next collection page
     */
    public PrintServiceEndpointCollectionPage(@Nonnull final PrintServiceEndpointCollectionResponse response, @Nonnull final PrintServiceEndpointCollectionRequestBuilder builder) {
        super(response, builder);
    }

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