@@ -45,44 +45,44 @@ import <#=importNamespace#>.concurrency.IExecutors;
45
45
}
46
46
47
47
<# if (c.GetFeatures().CanExpand) { #>
48
- public <#=c.ITypeCollectionRequest ()#> expand(final String value) {
48
+ public <#=c.ITypeCollectionWithReferencesRequest ()#> expand(final String value) {
49
49
addQueryOption(new com.microsoft.graph.options.QueryOption("$expand", value));
50
- return (<#=c.TypeCollectionRequest()#>) this;
50
+ return this;
51
51
}
52
52
53
53
<# } #>
54
54
<# if (c.GetFeatures().CanFilter) { #>
55
- public <#=c.ITypeCollectionRequest ()#> filter(final String value) {
55
+ public <#=c.ITypeCollectionWithReferencesRequest ()#> filter(final String value) {
56
56
addQueryOption(new com.microsoft.graph.options.QueryOption("$filter", value));
57
- return (<#=c.TypeCollectionRequest()#>) this;
57
+ return this;
58
58
}
59
59
60
60
<# } #>
61
61
<# if (c.GetFeatures().CanSort) { #>
62
- public <#=c.ITypeCollectionRequest ()#> orderBy(final String value) {
62
+ public <#=c.ITypeCollectionWithReferencesRequest ()#> orderBy(final String value) {
63
63
addQueryOption(new com.microsoft.graph.options.QueryOption("$orderby", value));
64
- return (<#=c.TypeCollectionRequest()#>) this;
64
+ return this;
65
65
}
66
66
67
67
<# } #>
68
68
<# if (c.GetFeatures().CanSelect) { #>
69
- public <#=c.ITypeCollectionRequest ()#> select(final String value) {
69
+ public <#=c.ITypeCollectionWithReferencesRequest ()#> select(final String value) {
70
70
addQueryOption(new com.microsoft.graph.options.QueryOption("$select", value));
71
- return (<#=c.TypeCollectionRequest()#>) this;
71
+ return this;
72
72
}
73
73
74
74
<# } #>
75
75
<# if (c.GetFeatures().CanUseTop) { #>
76
- public <#=c.ITypeCollectionRequest ()#> top(final int value) {
76
+ public <#=c.ITypeCollectionWithReferencesRequest ()#> top(final int value) {
77
77
addQueryOption(new com.microsoft.graph.options.QueryOption("$top", value + ""));
78
- return (<#=c.TypeCollectionRequest()#>) this;
78
+ return this;
79
79
}
80
80
81
81
<# } #>
82
82
public <#=c.ITypeCollectionWithReferencesPage()#> buildFromResponse(final <#=c.TypeCollectionResponse()#> response) {
83
- final <#=c.ITypeCollectionRequestBuilder ()#> builder;
83
+ final <#=c.ITypeCollectionWithReferencesRequestBuilder ()#> builder;
84
84
if (response.nextLink != null) {
85
- builder = new <#=c.TypeCollectionRequestBuilder ()#>(response.nextLink, getBaseRequest().getClient(), /* options */ null);
85
+ builder = new <#=c.TypeCollectionWithReferencesRequestBuilder ()#>(response.nextLink, getBaseRequest().getClient(), /* options */ null);
86
86
} else {
87
87
builder = null;
88
88
}
0 commit comments