code: public Observable<Page<RoleAssignmentInner>> listForResourceAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final String filter) {
          return listForResourceWithServiceResponseAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, filter)
              .map(new Func1<ServiceResponse<Page<RoleAssignmentInner>>, Page<RoleAssignmentInner>>() {
                  @Override
                  public Page<RoleAssignmentInner> call(ServiceResponse<Page<RoleAssignmentInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Gets role assignments for a resource.
  
  @param resourceGroupName The name of the resource group.
  @param resourceProviderNamespace The namespace of the resource provider.
  @param parentResourcePath The parent resource identity.
  @param resourceType The resource type of the resource.
  @param resourceName The name of the resource to get role assignments for.
  @param filter The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;RoleAssignmentInner&gt; object