forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplicationDeltaCollectionPage.java
More file actions
60 lines (52 loc) · 2.4 KB
/
Copy pathApplicationDeltaCollectionPage.java
File metadata and controls
60 lines (52 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// 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.extensions;
import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.concurrency.ICallback;
import com.microsoft.graph.models.extensions.Application;
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.requests.extensions.IApplicationDeltaCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.ApplicationDeltaCollectionPage;
import com.microsoft.graph.requests.extensions.ApplicationDeltaCollectionResponse;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import com.microsoft.graph.http.IBaseCollectionPage;
import com.microsoft.graph.http.BaseCollectionPage;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Application Delta Collection Page.
*/
public class ApplicationDeltaCollectionPage extends BaseCollectionPage<Application, IApplicationDeltaCollectionRequestBuilder> implements IApplicationDeltaCollectionPage {
/**
* The opaque link to query delta after the
* initial request
*/
public String deltaLink;
/**
* A collection page for Application.
*
* @param response The serialized ApplicationDeltaCollectionResponse from the service
* @param builder The request builder for the next collection page
*/
public ApplicationDeltaCollectionPage(final ApplicationDeltaCollectionResponse response, final IApplicationDeltaCollectionRequestBuilder builder) {
super(response.value, builder, response.additionalDataManager());
if (response.getRawObject().get("@odata.deltaLink") != null) {
deltaLink = response.getRawObject().get("@odata.deltaLink").getAsString();
} else {
deltaLink = null;
}
}
/**
* The deltaLink to make future delta requests
*
* @return String The deltaLink URL
*/
public String deltaLink() {
return deltaLink;
}
}