
com.plivo.api.models.base.ListResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.models.base;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
/**
* A generic container for all list responses.
*
* @param The type of the contained resource.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ListResponse extends BaseResponse {
private Meta meta;
private List objects;
private List brands;
private List profiles;
private List campaigns;
private List sessions;
private Response response;
/**
* @return The pagination-related metadata for this list response.
*/
public Meta getMeta() {
return meta;
}
/**
* @return The actual list of objects.
*/
public List getObjects() {
return objects;
}
public List getBrands() {
return brands;
}
public List getProfiles() {
return profiles;
}
public List getCampaigns() {
return campaigns;
}
public List getSessions() {
return sessions;
}
public Response getResponse() {
return response;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy