001package com.plivo.api.models.powerpack; 002 003import com.fasterxml.jackson.annotation.JsonIgnore; 004import com.plivo.api.models.base.BaseResource; 005 006public class Tollfree extends BaseResource { 007 008 private String added_on; 009 private String country_iso2; 010 private String number_pool_uuid; 011 private String number; 012 private String uuid; 013 private String account_phone_number_resource; 014 private String type; 015 016 public Tollfree(String uuid) { 017 this.uuid = uuid; 018 } 019 020 public Tollfree() { 021 //Introducing the dummy constructor 022 } 023 024 @JsonIgnore 025 public Tollfree getter() { 026 return this; 027 } 028 029 public TollfreeLister list() { 030 return new TollfreeLister(uuid); 031 } 032 033 public FindTollfree find() { 034 return new FindTollfree(uuid); 035 } 036 037 public RemoveTollfree remove() { 038 return new RemoveTollfree(uuid); 039 } 040 041 public PowerpackAddTollfree add() { 042 return new PowerpackAddTollfree(uuid); 043 } 044 045 public String getNumber_pool_uuid() { 046 return number_pool_uuid; 047 } 048 049 public String getNumber() { 050 return number; 051 } 052 053 public String getType() { 054 return type; 055 } 056 057 public String getAdded_on() { 058 return added_on; 059 } 060 061 public String getCountry_iso2() { 062 return country_iso2; 063 } 064 065 public String getAccount_phone_number_resource() { 066 return account_phone_number_resource; 067 } 068 069 @Override 070 public String getId() { 071 return getNumber_pool_uuid(); 072 } 073 074}