001package com.plivo.api.models.application;
002
003import com.plivo.api.models.base.ListResponse;
004import com.plivo.api.models.base.Lister;
005import retrofit2.Call;
006
007public class ApplicationLister extends Lister<Application> {
008
009  private String subaccount;
010
011  public String subaccount() {
012    return this.subaccount;
013  }
014
015  public ApplicationLister subaccount(final String subaccount) {
016    this.subaccount = subaccount;
017    return this;
018  }
019
020
021  @Override
022  protected Call<ListResponse<Application>> obtainCall() {
023    return client().getApiService().applicationList(client().getAuthId(), toMap());
024  }
025}