public async Task <ListResponse <Numbers> > ListAsync( string starts_with = null, string country_iso2 = null, string type = null, uint?limit = null, uint?offset = null) { return(await PowerpackI .List_NumbersAsync(numberpooluuid, starts_with, country_iso2, type, limit, offset)); }
public Numbers Buy_Add_Number(string number = null, string type = null, string country_iso2 = null, string region = null, string pattern = null, string service = null) { if (number == null) { var countryIso = country_iso2; var numbers = PhoneNumberI.List(countryIso, type, pattern, region); number = numbers.Objects[0].Number; } return(PowerpackI .Add_Number(numberpooluuid, number, service, true)); }
public async Task <Numbers> Buy_Add_NumberAsync(string number = null, string type = null, string country_iso2 = null, string region = null, string pattern = null) { if (number == null) { var countryIso = country_iso2; var numbers = PhoneNumberI.List(countryIso, type, pattern, region); number = numbers.Objects[0].Number; } return(await PowerpackI .Add_NumberAsync(numberpooluuid, number, true)); }
public uint Count(string starts_with = null, string country_iso2 = null, string type = null, uint?limit = null, uint?offset = null) { return(PowerpackI .Count_Number(numberpooluuid, starts_with, country_iso2, type, limit, offset)); }
public ListResponse <Numbers> List(string starts_with = null, string country_iso2 = null, string type = null, uint?limit = null, uint?offset = null) { return(PowerpackI.List_Numbers(numberpooluuid, starts_with, country_iso2, type, limit, offset)); }
public async Task <Numbers> FindAsync( string number) { return(await PowerpackI .Find_NumberAsync(numberpooluuid, number)); }
public Numbers Find(string number) { return(PowerpackI .Find_Number(numberpooluuid, number)); }
public async Task <DeleteResponse <Numbers> > RemoveAsync( string number, bool?unrent = null) { return(await PowerpackI .Remove_NumberAsync(numberpooluuid, number, unrent)); }
public DeleteResponse <Numbers> Remove(string number, bool?unrent = null) { return(PowerpackI .Remove_Number(numberpooluuid, number, unrent)); }
public Numbers Add(string number) { return(PowerpackI .Add_Number(numberpooluuid, number)); }