@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    RequestImpl request = (RequestImpl) o;

    return !(properties == null ? request.properties != null : !properties.equals(request.properties)) &&
        !(propertyIds == null ? request.propertyIds != null : !propertyIds.equals(request.propertyIds));
  }
Create a request.

@param propertyIds            property ids associated with the request; may be null
@param properties             resource properties associated with the request; may be null
@param requestInfoProperties  request properties; may be null
@param mapTemporalInfo        temporal info
@param sortRequest            the sort request information; may be null
@param pageRequest            the page request information; may be null
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestImpl.java