001package com.plivo.api.models.complianceapplication;
002
003import com.plivo.api.models.base.ListResponse;
004import com.plivo.api.models.base.Lister;
005import retrofit2.Call;
006
007public class ComplianceApplicationLister extends Lister<ComplianceApplication> {
008
009    private String endUserType;
010    private String numberType;
011    private String countryIso2;
012    private String endUserId;
013    private String alias ;
014    private String status ;
015
016    public String alias() {
017      return this.alias;
018    }
019    public String countryIso2() {
020      return this.countryIso2;
021    }
022    public String endUserId(){ return this.endUserId; }
023    public String endUserType(){ return this.endUserType; }
024    public String numberType(){ return this.numberType; }
025    public String status(){ return this.status; }
026
027    public ComplianceApplicationLister alias(final String alias) {
028      this.alias = alias;
029      return this;
030    }
031
032    public ComplianceApplicationLister countryIso2(final String countryIso2) {
033      this.countryIso2 = countryIso2;
034      return this;
035    }
036
037    public ComplianceApplicationLister endUserId(final String endUserId) {
038      this.endUserId = endUserId;
039      return this;
040    }
041
042    public ComplianceApplicationLister numberType(final String numberType) {
043      this.numberType = numberType;
044      return this;
045    }
046
047    public ComplianceApplicationLister endUserType(final String endUserType) {
048      this.endUserType = endUserType;
049      return this;
050    }
051
052  public ComplianceApplicationLister status(final String status) {
053    this.status = status;
054    return this;
055  }
056
057//  public ComplianceApplicationLister setNumberType(String numberType) {
058//        this.numberType = numberType;
059//        return this;
060//    }
061//
062//    public ComplianceApplicationLister setEndUserType(String endUserType) {
063//        this.endUserType = endUserType;
064//        return this;
065//    }
066//
067//    public ComplianceApplicationLister setCountryIso2(String countryIso2) {
068//        this.countryIso2 = countryIso2;
069//        return this;
070//    }
071
072    @Override
073    protected Call<ListResponse<ComplianceApplication>> obtainCall() {
074        return client().getApiService().complianceApplicationList(client().getAuthId(), toMap());
075    }
076}