release of lastest java changes by baywet · Pull Request #305 · microsoftgraph/MSGraph-SDK-Code-Generator
Expand Up
@@ -98,19 +98,6 @@ import <#=importNamespace#>.http.HttpMethod;
return (<#=c.TypeRequest()#>)this;
}
<# } #> <# if (c.GetFeatures().CanFilter) { #> /** * Sets the filter clause for the request * * @param value the filter clause * @return the updated request */ public <#=c.ITypeRequest()#> filter(final String value) { getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value)); return (<#=c.TypeRequest()#>)this; }
<# } #> <# if (c.AsOdcmProperty() != null && c.AsOdcmProperty().IsCollection && c.GetFeatures().CanUseTop) { #>
Expand All @@ -137,7 +124,7 @@ import <#=importNamespace#>.http.HttpMethod; * * @param callback the callback when the deletion action has completed */ public void delete(final ICallback<{0}> callback) {{ public void delete(final ICallback<? super {0}> callback) {{ send(HttpMethod.DELETE, callback, null); }}
Expand All @@ -162,7 +149,7 @@ import <#=importNamespace#>.http.HttpMethod; * * @param callback the callback to be called after success or failure */ public void get(final ICallback<{0}> callback) {{ public void get(final ICallback<? super {0}> callback) {{ send(HttpMethod.GET, callback, null); }}
Expand All @@ -189,7 +176,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param source{0} the source object with updates * @param callback the callback to be called after success or failure */ public void patch(final {0} source{0}, final ICallback<{0}> callback) {{ public void patch(final {0} source{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.PATCH, callback, source{0}); }}
Expand Down Expand Up @@ -217,7 +204,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param new{0} the new object to create * @param callback the callback to be called after success or failure */ public void post(final {0} new{0}, final ICallback<{0}> callback) {{ public void post(final {0} new{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.POST, callback, new{0}); }}
Expand Down Expand Up @@ -245,7 +232,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param new{0} the object to create/update * @param callback the callback to be called after success or failure */ public void put(final {0} new{0}, final ICallback<{0}> callback) {{ public void put(final {0} new{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.PUT, callback, new{0}); }}
Expand Down
<# } #> <# if (c.GetFeatures().CanFilter) { #> /** * Sets the filter clause for the request * * @param value the filter clause * @return the updated request */ public <#=c.ITypeRequest()#> filter(final String value) { getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value)); return (<#=c.TypeRequest()#>)this; }
<# } #> <# if (c.AsOdcmProperty() != null && c.AsOdcmProperty().IsCollection && c.GetFeatures().CanUseTop) { #>
Expand All @@ -137,7 +124,7 @@ import <#=importNamespace#>.http.HttpMethod; * * @param callback the callback when the deletion action has completed */ public void delete(final ICallback<{0}> callback) {{ public void delete(final ICallback<? super {0}> callback) {{ send(HttpMethod.DELETE, callback, null); }}
Expand All @@ -162,7 +149,7 @@ import <#=importNamespace#>.http.HttpMethod; * * @param callback the callback to be called after success or failure */ public void get(final ICallback<{0}> callback) {{ public void get(final ICallback<? super {0}> callback) {{ send(HttpMethod.GET, callback, null); }}
Expand All @@ -189,7 +176,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param source{0} the source object with updates * @param callback the callback to be called after success or failure */ public void patch(final {0} source{0}, final ICallback<{0}> callback) {{ public void patch(final {0} source{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.PATCH, callback, source{0}); }}
Expand Down Expand Up @@ -217,7 +204,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param new{0} the new object to create * @param callback the callback to be called after success or failure */ public void post(final {0} new{0}, final ICallback<{0}> callback) {{ public void post(final {0} new{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.POST, callback, new{0}); }}
Expand Down Expand Up @@ -245,7 +232,7 @@ import <#=importNamespace#>.http.HttpMethod; * @param new{0} the object to create/update * @param callback the callback to be called after success or failure */ public void put(final {0} new{0}, final ICallback<{0}> callback) {{ public void put(final {0} new{0}, final ICallback<? super {0}> callback) {{ send(HttpMethod.PUT, callback, new{0}); }}
Expand Down