Skip to content

Commit

Permalink
Merge pull request #297 from microsoftgraph/bugfix/java-collection-re…
Browse files Browse the repository at this point in the history
…sponse-headers

bugfix/java collection response headers
  • Loading branch information
baywet authored Sep 22, 2020
2 parents 36b766d + 994e069 commit a4e8c3a
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ String s = c.TypeName();
* @param builder the request builder for the next collection page
*/
public <#=c.TypeCollectionPage()#>(final <#=c.TypeCollectionResponse()#> response, final <#=c.ITypeCollectionRequestBuilder()#> builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ import <#=importNamespace#>.http.BaseCollectionPage;
* @param builder the request builder for the next collection page
*/
public <#=c.TypeCollectionWithReferencesPage()#>(final <#=c.TypeCollectionResponse()#> response, final <#=c.ITypeCollectionWithReferencesRequestBuilder()#> builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import <#=importNamespace#>.http.BaseCollectionPage;
* @param builder The request builder for the next collection page
*/
public <#=c.TypeCollectionPage()#>(final <#=c.TypeCollectionResponse()#> response, final <#=c.ITypeCollectionRequestBuilder()#> builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
<# if (deltaPage) { #>

if (response.getRawObject().get("@odata.deltaLink") != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class CallCollectionPage extends BaseCollectionPage<Call, ICallCollection
* @param builder the request builder for the next collection page
*/
public CallCollectionPage(final CallCollectionResponse response, final ICallCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class EntityType2CollectionPage extends BaseCollectionPage<EntityType2, I
* @param builder the request builder for the next collection page
*/
public EntityType2CollectionPage(final EntityType2CollectionResponse response, final IEntityType2CollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class EntityType3CollectionPage extends BaseCollectionPage<EntityType3, I
* @param builder the request builder for the next collection page
*/
public EntityType3CollectionPage(final EntityType3CollectionResponse response, final IEntityType3CollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public class EntityType3CollectionWithReferencesPage extends BaseCollectionPage<
* @param builder the request builder for the next collection page
*/
public EntityType3CollectionWithReferencesPage(final EntityType3CollectionResponse response, final IEntityType3CollectionWithReferencesRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public class TestTypeQueryCollectionPage extends BaseCollectionPage<ResponseObje
* @param builder The request builder for the next collection page
*/
public TestTypeQueryCollectionPage(final TestTypeQueryCollectionResponse response, final ITestTypeQueryCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class TimeOffCollectionPage extends BaseCollectionPage<TimeOff, ITimeOffC
* @param builder the request builder for the next collection page
*/
public TimeOffCollectionPage(final TimeOffCollectionResponse response, final ITimeOffCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class TimeOffRequestCollectionPage extends BaseCollectionPage<TimeOffRequ
* @param builder the request builder for the next collection page
*/
public TimeOffRequestCollectionPage(final TimeOffRequestCollectionResponse response, final ITimeOffRequestCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class CallRecordCollectionPage extends BaseCollectionPage<CallRecord, ICa
* @param builder the request builder for the next collection page
*/
public CallRecordCollectionPage(final CallRecordCollectionResponse response, final ICallRecordCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class SegmentCollectionPage extends BaseCollectionPage<Segment, ISegmentC
* @param builder the request builder for the next collection page
*/
public SegmentCollectionPage(final SegmentCollectionResponse response, final ISegmentCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public class SegmentTestActionCollectionPage extends BaseCollectionPage<Session,
* @param builder The request builder for the next collection page
*/
public SegmentTestActionCollectionPage(final SegmentTestActionCollectionResponse response, final ISegmentTestActionCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class SessionCollectionPage extends BaseCollectionPage<Session, ISessionC
* @param builder the request builder for the next collection page
*/
public SessionCollectionPage(final SessionCollectionResponse response, final ISessionCollectionRequestBuilder builder) {
super(response.value, builder);
super(response.value, builder, response.additionalDataManager());
}
}

0 comments on commit a4e8c3a

Please sign in to comment.