com.memority.toolkit.inwebo.api.InWeboQueryResult Maven / Gradle / Ivy
/*
* Copyright (c) 2016-2023 Memority. All Rights Reserved.
*
* This file is part of Memority Toolkit API , a Memority project.
*
* This file is released under the Memority Public Artifacts End-User License Agreement,
* see
* Unauthorized copying of this file, via any medium is strictly prohibited.
*/
package com.memority.toolkit.inwebo.api;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public class InWeboQueryResult {
private long total;
private long pageSize;
private List users;
public InWeboQueryResult(long total, long pageSize, List users) {
this.total = total;
this.pageSize = pageSize;
this.users = users;
}
public List getUsers() {
return new ArrayList<>(users);
}
}