Skip to content

bugfix/java collection response headers #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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());
}
}