File tree Expand file tree Collapse file tree 5 files changed +0
-131
lines changed
Templates/Java/requests_extensions Expand file tree Collapse file tree 5 files changed +0
-131
lines changed Original file line number Diff line number Diff line change @@ -58,30 +58,6 @@ import <#=importNamespace#>.core.IBaseClient;
58
58
return (<#=c.TypeReferenceRequest()#>)this;
59
59
}
60
60
<# } #>
61
- <# if (c.GetFeatures().CanFilter) { #>
62
- /**
63
- * Sets the filter clause for the request
64
- *
65
- * @param value the filter clause
66
- * @return the updated request
67
- */
68
- public <#=c.ITypeReferenceRequest()#> filter(final String value) {
69
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
70
- return (<#=c.TypeReferenceRequest()#>)this;
71
- }
72
- <# } #>
73
- <# if (c.GetFeatures().CanSort) { #>
74
- /**
75
- * Sets the order by clause for the request
76
- *
77
- * @param value the order by clause
78
- * @return the updated request
79
- */
80
- public <#=c.ITypeReferenceRequest()#> orderBy(final String value) {
81
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$orderby", value));
82
- return (<#=c.TypeReferenceRequest()#>)this;
83
- }
84
- <# } #>
85
61
<# if (c.GetFeatures().CanUpdate) { #>
86
62
/**
87
63
* Puts the <#=c.TypeName()#>
Original file line number Diff line number Diff line change @@ -98,32 +98,6 @@ import <#=importNamespace#>.http.HttpMethod;
98
98
return (<#=c.TypeRequest()#>)this;
99
99
}
100
100
101
- <# } #>
102
- <# if (c.GetFeatures().CanFilter) { #>
103
- /**
104
- * Sets the filter clause for the request
105
- *
106
- * @param value the filter clause
107
- * @return the updated request
108
- */
109
- public <#=c.ITypeRequest()#> filter(final String value) {
110
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
111
- return (<#=c.TypeRequest()#>)this;
112
- }
113
-
114
- <# } #>
115
- <# if (c.GetFeatures().CanSort) { #>
116
- /**
117
- * Sets the order by clause for the request
118
- *
119
- * @param value the order by clause
120
- * @return the updated request
121
- */
122
- public <#=c.ITypeRequest()#> orderBy(final String value) {
123
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$orderby", value));
124
- return (<#=c.TypeRequest()#>)this;
125
- }
126
-
127
101
<# } #>
128
102
<# if (c.AsOdcmProperty() != null && c.AsOdcmProperty().IsCollection && c.GetFeatures().CanUseTop) { #>
129
103
Original file line number Diff line number Diff line change @@ -88,28 +88,4 @@ import <#=importNamespace#>.serializer.IJsonBackedObject;
88
88
return (<#=c.TypeWithReferencesRequest()#>)this;
89
89
}
90
90
<# } #>
91
- <# if (c.GetFeatures().CanFilter) { #>
92
- /**
93
- * Sets the filter clause for the request
94
- *
95
- * @param value the filter clause
96
- * @return the updated request
97
- */
98
- public <#=c.ITypeWithReferencesRequest()#> filter(final String value) {
99
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
100
- return (<#=c.TypeWithReferencesRequest()#>)this;
101
- }
102
- <# } #>
103
- <# if (c.GetFeatures().CanSort) { #>
104
- /**
105
- * Sets the order by clause for the request
106
- *
107
- * @param value the order by clause
108
- * @return the updated request
109
- */
110
- public <#=c.ITypeWithReferencesRequest()#> orderBy(final String value) {
111
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$orderby", value));
112
- return (<#=c.TypeWithReferencesRequest()#>)this;
113
- }
114
- <# } #>
115
91
}
Original file line number Diff line number Diff line change @@ -105,31 +105,5 @@ import <#=importNamespace#>.http.HttpMethod;
105
105
return (<#=typeRequest#>)this;
106
106
}
107
107
108
- <# } #>
109
- <# if (c.GetFeatures().CanFilter) { #>
110
- /**
111
- * Sets the filter clause for the request
112
- *
113
- * @param value the filter clause
114
- * @return the updated request
115
- */
116
- public <#=iTypeRequest#> filter(final String value) {
117
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
118
- return (<#=typeRequest#>)this;
119
- }
120
-
121
- <# } #>
122
- <# if (c.GetFeatures().CanSort) { #>
123
- /**
124
- * Sets the order by clause for the request
125
- *
126
- * @param value the order by clause
127
- * @return the updated request
128
- */
129
- public <#=iTypeRequest#> orderBy(final String value) {
130
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$orderby", value));
131
- return (<#=typeRequest#>)this;
132
- }
133
-
134
108
<# } #>
135
109
}
Original file line number Diff line number Diff line change @@ -79,37 +79,6 @@ if (c.AsOdcmMethod().IsAction()) {
79
79
return (<#=c.TypeRequest()#>)this;
80
80
}
81
81
82
- <#
83
- }
84
-
85
- if (c.GetFeatures().CanFilter) {
86
- #>
87
- /**
88
- * Sets the filter clause for the request
89
- *
90
- * @param value the filter clause
91
- * @return the updated request
92
- */
93
- public <#=c.ITypeRequest()#> filter(final String value) {
94
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
95
- return (<#=c.TypeRequest()#>)this;
96
- }
97
-
98
- <#
99
- }
100
- if (c.GetFeatures().CanSort) {
101
- #>
102
- /**
103
- * Sets the order by clause for the request
104
- *
105
- * @param value the order by clause
106
- * @return the updated request
107
- */
108
- public <#=c.ITypeRequest()#> orderBy(final String value) {
109
- getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$orderby", value));
110
- return (<#=c.TypeRequest()#>)this;
111
- }
112
-
113
82
<#
114
83
}
115
84
You can’t perform that action at this time.
0 commit comments