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

com.plivo.api.models.base.ListResponse Maven / Gradle / Ivy

Go to download

A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML

There is a newer version: 5.46.0
Show newest version
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