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