/**
  * The constructor.
  *
  * @param ownerIdentity
  * @param activityType
  */
 public ActivitiesRealtimeListAccessV1Alpha2(
     RestIdentity ownerIdentity, ActivityType activityType, QueryParams queryParams) {
   this.ownerIdentity = ownerIdentity;
   this.activityType = activityType;
   if (queryParams != null) {
     this.queryParams.append(queryParams.get(QueryParams.NUMBER_OF_COMMENTS_PARAM));
     this.queryParams.append(queryParams.get(QueryParams.NUMBER_OF_LIKES_PARAM));
   }
 }