code: @Deprecated
    public String getResourceType() {
      String resourceType = null;
      if (missingAuthorizations.size() == 1) {
        resourceType = missingAuthorizations.get(0).getResourceType();
      }
      return resourceType;
    }
docs: @return the type of the resource if there
  is only one {@link MissingAuthorization}, {@code null} otherwise
  
  @deprecated Use {@link #getMissingAuthorizations()} to get the type of the resource
  of the {@link MissingAuthorization}(s). This method may be removed in future versions.