001package com.plivo.api.models.tollfree_verification; 002 003import com.plivo.api.models.base.ListResponse; 004import com.plivo.api.models.base.Lister; 005import com.plivo.api.util.PropertyFilter; 006import retrofit2.Call; 007 008public class TollfreeVerificationLister extends Lister<TollfreeVerification> { 009 private String usecase; 010 private String status; 011 private PropertyFilter<String> created; 012 private String number; 013 private String profileUuid; 014 015 public String usecase() { 016 return usecase; 017 } 018 019 public TollfreeVerificationLister usecase(String usecase) { 020 this.usecase = usecase; 021 return this; 022 } 023 024 public String status() { 025 return status; 026 } 027 028 public TollfreeVerificationLister status(final String status) { 029 this.status = status; 030 return this; 031 } 032 033 public PropertyFilter<String> created() { 034 return created; 035 } 036 037 public TollfreeVerificationLister created(final PropertyFilter<String> created) { 038 this.created = created; 039 return this; 040 } 041 042 public String number() { 043 return number; 044 } 045 046 public TollfreeVerificationLister number(final String number) { 047 this.number = number; 048 return this; 049 } 050 051 public String profileUuid() { 052 return profileUuid; 053 } 054 055 public TollfreeVerificationLister profileUuid(final String profileUuid) { 056 this.profileUuid = profileUuid; 057 return this; 058 } 059 060 061 062 @Override 063 protected Call<ListResponse<TollfreeVerification>> obtainCall() { 064 return client().getApiService().tollfreeVerificationList(client().getAuthId(), toMap()); 065 } 066 067}