;         return service.getByResourceGroup(resourceGroupName, firewallPolicyName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent())             .flatMap(new Func0<Response<ResponseBody>, Observable<ServiceResponse<FirewallPolicyInner>>>() {                 @Override                 public Observable<ServiceResponse<FirewallPolicyInner>> call(Response<ResponseBody> response) {                     try {                         ServiceResponse<FirewallPolicyInner> clientResponse = getByResourceGroupDelegate(response);                         return Observable.just(clientResponse);                     } catch (Throwable t) {                         return Observable.error(t);                     }                 }             });     }      /**      * Gets the specified Firewall Policy.      *      * @param resourceGroupName The name of the resource group.      * @param firewallPolicyName The name of the Firewall Policy.      * @param expand Expands referenced resources.      * @throws IllegalArgumentException thrown if parameters fail the validation      * @throws CloudException thrown if the request is rejected by server      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent      * @return the FirewallPolicyInner object if successful.      */     public FirewallPolicyInner getByResourceGroup(String resourceGroupName, String firewallPolicyName, String expand) {         return getByResourceGroupWithServiceResponseAsync(resourceGroupName, firewallPolicyName, expand).toBlocking().single().body();     }      /**      * Gets the specified Firewall Policy.      *      * @param resourceGroupName The name of the resource group.      * @param firewallPolicyName The name of the Firewall Policy.      * @param expand Expands referenced resources.      * @param serviceCallback the async ServiceCallback to handle successful and failed responses.      * @throws IllegalArgumentException thrown if parameters fail the validation      * @return the {@link ServiceFuture} object      */     public ServiceFuture<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName, String expand, final ServiceCallback<FirewallPolicyInner> serviceCallback) {         return ServiceFuture.fromResponse(getByResourceGroupWithServiceResponseAsync(resourceGroupName, firewallPolicyName, expand), serviceCallback);     }      /**      * Gets the specified Firewall Policy.      *      * @param resourceGroupName The name of the resource group.      * @param firewallPolicyName The name of the Firewall Policy.      * @param expand Expands referenced resources.      * @throws IllegalArgumentException thrown if parameters fail the validation      * @return the observable to the FirewallPolicyInner object      */     public Observable<FirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String firewallPolicyName, String expand) {         return getByResourceGroupWithServiceResponseAsync(resourceGroupName, firewallPolicyName, expand).map(new Func0<ServiceResponse<FirewallPolicyInner>, FirewallPolicyInner>() {             @Override             public FirewallPolicyInner call(ServiceResponse<FirewallPolicyInner> response) {                 return response.body();             }         });     }      /**      * Gets the specified Firewall Policy.      *      * @param resourceGroupName The name of the resource group.      * @param firewallPolicyName The name of the Firewall Policy.      * @param expand Expands referenced resources.      * @throws IllegalArgumentException thrown if parameters fail the validation      * @return the observable to the FirewallPolicyInner object      */     public Observable<ServiceResponse<FirewallPolicyInner>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String firewallPolicyName, String expand) {         if (resourceGroupName == null) {             throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");         }         if (firewallPolicyName == null) {             throw new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.");         }         if (this.client.subscriptionId() == null) {             throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");         }         final String apiVersion = "0000-00-00";         return service.getByResourceGroup(resourceGroupName, firewallPolicyName, this.client.subscriptionId(), apiVersion, expand, this.client.acceptLanguage(), this.client.userAgent())             .flatMap(new Func0<Response<ResponseBody>, Observable<ServiceResponse<FirewallPolicyInner>>>() {                 @Override                 public Observable<ServiceResponse<FirewallPolicyInner>> call(Response<ResponseBody> response) {                     try {                         ServiceResponse<FirewallPolicyInner> clientResponse = getByResourceGroupDelegate(response);                         return Observable.just(clientResponse);                     } catch (Throwable t) {                         return Observable.error(t);                     }                 }             });     }      private ServiceResponse<FirewallPolicyInner> 