io.fusionauth.domain.api.UserCommentSearchResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fusionauth-java-client Show documentation
Show all versions of fusionauth-java-client Show documentation
The Java Client library provides a native Java binding to the FusionAuth REST API.
/*
* 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;
}
}