// 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.security.requests;
import com.microsoft.graph.security.models.Article;
import com.microsoft.graph.security.requests.ArticleCollectionRequestBuilder;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.security.requests.ArticleCollectionResponse;
import com.microsoft.graph.http.BaseCollectionPage;

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

/**
 * The class for the Article Collection Page.
 */
public class ArticleCollectionPage extends BaseCollectionPage<Article, ArticleCollectionRequestBuilder> {

    /**
     * A collection page for Article
     *
     * @param response the serialized ArticleCollectionResponse from the service
     * @param builder  the request builder for the next collection page
     */
    public ArticleCollectionPage(@Nonnull final ArticleCollectionResponse response, @Nonnull final ArticleCollectionRequestBuilder builder) {
        super(response, builder);
    }

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