@Override public Observable<ServiceResponse<Page<PolicySetDefinitionInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicySetDefinitionInner>> result = listBuiltInDelegate(response); return Observable.just(new ServiceResponse<Page<PolicySetDefinitionInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<ProviderInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<ProviderInner>> result = listNextDelegate(response); return Observable.just(new ServiceResponse<Page<ProviderInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<TenantIdDescriptionInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl1<TenantIdDescriptionInner>> result = listNextDelegate(response); return Observable.just(new ServiceResponse<Page<TenantIdDescriptionInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<FeatureResultInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<FeatureResultInner>> result = list1Delegate(response); return Observable.just(new ServiceResponse<Page<FeatureResultInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<TagDetailsInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<TagDetailsInner>> result = listNextDelegate(response); return Observable.just(new ServiceResponse<Page<TagDetailsInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<DeploymentOperationInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<DeploymentOperationInner>> result = listByResourceGroupDelegate(response); return Observable.just(new ServiceResponse<Page<DeploymentOperationInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<DeploymentOperationInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<DeploymentOperationInner>> result = listByResourceGroupNextDelegate(response); return Observable.just(new ServiceResponse<Page<DeploymentOperationInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<GenericResourceInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<GenericResourceInner>> result = listByResourceGroupNextDelegate(response); return Observable.just(new ServiceResponse<Page<GenericResourceInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<PolicyAssignmentInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicyAssignmentInner>> result = listByResourceGroupDelegate(response); return Observable.just(new ServiceResponse<Page<PolicyAssignmentInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<PolicySetDefinitionInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicySetDefinitionInner>> result = listByManagementGroupNextDelegate(response); return Observable.just(new ServiceResponse<Page<PolicySetDefinitionInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<DeploymentExtendedInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<DeploymentExtendedInner>> result = listByResourceGroupNextDelegate(response); return Observable.just(new ServiceResponse<Page<DeploymentExtendedInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<ResourceGroupInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<ResourceGroupInner>> result = listDelegate(response); return Observable.just(new ServiceResponse<Page<ResourceGroupInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<PolicyDefinitionInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicyDefinitionInner>> result = listByManagementGroupDelegate(response); return Observable.just(new ServiceResponse<Page<PolicyDefinitionInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<FeatureResultInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<FeatureResultInner>> result = listDelegate(response); return Observable.just(new ServiceResponse<Page<FeatureResultInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<FeatureResultInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<FeatureResultInner>> result = list1NextDelegate(response); return Observable.just(new ServiceResponse<Page<FeatureResultInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<TagDetailsInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<TagDetailsInner>> result = listDelegate(response); return Observable.just(new ServiceResponse<Page<TagDetailsInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<GenericResourceInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<GenericResourceInner>> result = listByResourceGroupDelegate(response); return Observable.just(new ServiceResponse<Page<GenericResourceInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<PolicyAssignmentInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicyAssignmentInner>> result = listDelegate(response); return Observable.just(new ServiceResponse<Page<PolicyAssignmentInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<Page<PolicyAssignmentInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<PolicyAssignmentInner>> result = listForResourceNextDelegate(response); return Observable.just(new ServiceResponse<Page<PolicyAssignmentInner>>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } } });
@Override public Observable<ServiceResponse<List<LocationInner>>> call(Response<ResponseBody> response) { try { ServiceResponse<PageImpl<LocationInner>> result = listLocationsDelegate(response); ServiceResponse<List<LocationInner>> clientResponse = new ServiceResponse<List<LocationInner>>(result.body().items(), result.response()); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } } });