use of fixtures.lro.models.SubProduct in project autorest.java by Azure.
the class LROsImpl method putSubResourceWithServiceResponseAsync.
/**
* Long running put request with sub resource.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
public Observable<ServiceResponse<SubProduct>> putSubResourceWithServiceResponseAsync() {
final SubProduct product = null;
Observable<Response<ResponseBody>> observable = service.putSubResource(product, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<SubProduct>() {
}.getType());
}
use of fixtures.lro.models.SubProduct in project autorest.java by Azure.
the class LROsImpl method putAsyncSubResourceWithServiceResponseAsync.
/**
* Long running put request with sub resource.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
public Observable<ServiceResponse<SubProduct>> putAsyncSubResourceWithServiceResponseAsync() {
final SubProduct product = null;
Observable<Response<ResponseBody>> observable = service.putAsyncSubResource(product, this.client.acceptLanguage(), this.client.userAgent());
return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<SubProduct>() {
}.getType());
}
Aggregations