All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fusionauth.domain.api.UserCommentSearchResponse Maven / Gradle / Ivy

There is a newer version: 1.53.0
Show newest version
/*
 * Copyright (c) 2023, FusionAuth, All Rights Reserved
 */
package io.fusionauth.domain.api;

import java.util.ArrayList;
import java.util.List;

import com.inversoft.json.JacksonConstructor;
import io.fusionauth.domain.UserComment;
import io.fusionauth.domain.search.SearchResults;

/**
 * User comment search response
 *
 * @author Spencer Witt
 */
public class UserCommentSearchResponse {
  public long total;

  public List userComments = new ArrayList<>();

  @JacksonConstructor
  public UserCommentSearchResponse() {
  }

  public UserCommentSearchResponse(SearchResults searchResults) {
    this.userComments = searchResults.results;
    this.total = searchResults.total;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy