code: public Observable<GatewaySettingsInner> getGatewaySettingsAsync(String resourceGroupName, String clusterName) {
          return getGatewaySettingsWithServiceResponseAsync(resourceGroupName, clusterName).map(new Func1<ServiceResponse<GatewaySettingsInner>, GatewaySettingsInner>() {
              @Override
              public GatewaySettingsInner call(ServiceResponse<GatewaySettingsInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets the gateway settings for the specified cluster.
  
  @param resourceGroupName The name of the resource group.
  @param clusterName The name of the cluster.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the GatewaySettingsInner object