com.microsoft.graph.requests.SiteCollectionWithReferencesPage Maven / Gradle / Ivy
// Template Source: BaseEntityCollectionWithReferencesPage.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.User;
import com.microsoft.graph.models.Site;
import com.microsoft.graph.models.ItemActivityStat;
import com.microsoft.graph.models.ContentType;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.requests.SiteCollectionWithReferencesRequestBuilder;
import com.microsoft.graph.requests.SiteCollectionWithReferencesPage;
import com.microsoft.graph.requests.SiteCollectionResponse;
import com.microsoft.graph.models.Site;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import com.microsoft.graph.http.BaseCollectionPage;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Site Collection With References Page.
*/
public class SiteCollectionWithReferencesPage extends BaseCollectionPage {
/**
* A collection page for Site
*
* @param response the serialized SiteCollectionResponse from the service
* @param builder the request builder for the next collection page
*/
public SiteCollectionWithReferencesPage(@Nonnull final SiteCollectionResponse response, @Nullable final SiteCollectionWithReferencesRequestBuilder builder) {
super(response.value, builder, response.additionalDataManager());
}
/**
* Creates the collection page for Site
*
* @param pageContents the contents of this page
* @param nextRequestBuilder the request builder for the next page
*/
public SiteCollectionWithReferencesPage(@Nonnull final java.util.List pageContents, @Nullable final SiteCollectionWithReferencesRequestBuilder nextRequestBuilder) {
super(pageContents, nextRequestBuilder);
}
}