docs: public Observable<ServiceResponse<PolicyStatesQueryResultsInner>> listQueryResultsForResourceGroupLevelPolicyAssignmentWithServiceResponseAsync(PolicyStatesResource policyStatesResource, String subscriptionId, String resourceGroupName, String policyAssignmentName) {
          if (policyStatesResource == null) {
              throw new IllegalArgumentException("Parameter policyStatesResource is required and cannot be null.");
          }
          if (subscriptionId == null) {
              throw new IllegalArgumentException("Parameter subscriptionId is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (policyAssignmentName == null) {
              throw new IllegalArgumentException("Parameter policyAssignmentName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          final String authorizationNamespace = "Microsoft.Authorization";
          final QueryOptions queryOptions = null;
          Integer top = null;
          String orderBy = null;
          String select = null;
          DateTime from = null;
          DateTime to = null;
          String filter = null;
          String apply = null;
          return service.listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId, resourceGroupName, authorizationNamespace, policyAssignmentName, this.client.apiVersion(), this.client.acceptLanguage(), top, orderBy, select, from, to, filter, apply, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<PolicyStatesQueryResultsInner>>>() {
                  @Override
                  public Observable<ServiceResponse<PolicyStatesQueryResultsInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<PolicyStatesQueryResultsInner> clientResponse = listQueryResultsForResourceGroupLevelPolicyAssignmentDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }