// ------------------------------------------------------------------------------
// 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.extensions;
import com.microsoft.graph.models.extensions.DirectoryObject;
import com.microsoft.graph.requests.extensions.IDirectoryObjectCollectionRequestBuilder;
import com.microsoft.graph.http.BaseCollectionPage;

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

/**
 * The class for the Directory Object Collection Page.
 */
public class DirectoryObjectCollectionPage extends BaseCollectionPage<DirectoryObject, IDirectoryObjectCollectionRequestBuilder> implements IDirectoryObjectCollectionPage {

    /**
     * A collection page for DirectoryObject
     *
     * @param response the serialized DirectoryObjectCollectionResponse from the service
     * @param builder  the request builder for the next collection page
     */
    public DirectoryObjectCollectionPage(final DirectoryObjectCollectionResponse response, final IDirectoryObjectCollectionRequestBuilder builder) {
        super(response.value, builder);
    }
}
