@@ -128,40 +128,43 @@ if (c.AsOdcmMethod().IsAction()) {
128128#>
129129 /**
130130 * Patches the <#=TypeName(c)#>
131- *
131+ * @param src<#=ReturnType(c)#> The <#=ReturnType(c)#> with which to PATCH
132132 * @param callback The callback to be called after success or failure
133133 */
134- public void patch(final ICallback<<#=ReturnType(c)#>> callback) {
135- send(HttpMethod.PATCH, callback, null );
134+ public void patch(<#=ReturnType(c)#> src<#=ReturnType(c)#>, final ICallback<<#=ReturnType(c)#>> callback) {
135+ send(HttpMethod.PATCH, callback, src<#=ReturnType(c)#> );
136136 }
137137
138138 /**
139139 * Patches the <#=TypeName(c)#>
140140 *
141+ * @param src<#=ReturnType(c)#> The <#=ReturnType(c)#> with which to PATCH
141142 * @return The <#=ReturnType(c)#>
142143 * @throws ClientException An exception occurs if there was an error while the request was sent
143144 */
144- public <#=ReturnType(c)#> patch() throws ClientException {
145- return this.send(HttpMethod.PATCH, null );
145+ public <#=ReturnType(c)#> patch(<#=ReturnType(c)#> src<#=ReturnType(c)#> ) throws ClientException {
146+ return this.send(HttpMethod.PATCH, src<#=ReturnType(c)#> );
146147 }
147148
148149 /**
149150 * Puts the <#=TypeName(c)#>
150151 *
152+ * @param src<#=ReturnType(c)#> The <#=ReturnType(c)#> to PUT
151153 * @param callback The callback to be called after success or failure
152154 */
153- public void put(final ICallback<<#=ReturnType(c)#>> callback) {
154- send(HttpMethod.PUT, callback, null );
155+ public void put(<#=ReturnType(c)#> src<#=ReturnType(c)#>, final ICallback<<#=ReturnType(c)#>> callback) {
156+ send(HttpMethod.PUT, callback, src<#=ReturnType(c)#> );
155157 }
156158
157159 /**
158160 * Puts the <#=TypeName(c)#>
159161 *
162+ * @param src<#=ReturnType(c)#> The <#=ReturnType(c)#> to PUT
160163 * @return The <#=ReturnType(c)#>
161164 * @throws ClientException An exception occurs if there was an error while the request was sent
162165 */
163- public <#=ReturnType(c)#> put() throws ClientException {
164- return this.send(HttpMethod.PUT, null );
166+ public <#=ReturnType(c)#> put(<#=ReturnType(c)#> src<#=ReturnType(c)#> ) throws ClientException {
167+ return this.send(HttpMethod.PUT, src<#=ReturnType(c)#> );
165168 }
166169<#
167170 }
0 commit comments