public void FixtureSetup() { var region = new CfRegion(null, null, null, null, null, null, null, null, null, null); Client = new SoapNumberClient(MockClient.User(), MockClient.Password()); RegionQuery = new CfRegionQuery(100, 0, region); SearchAvailableKeywords = new CfSearchAvailableKeywords(string.Empty); SearchAvailableNumbers = new CfSearchAvailableNumbers(null, true, 100); QueryKeywords = new CfQuery(); QueryNumbers = new CfQueryNumbers(100, 0, region, null); }
public Region(CfRegion source) { Prefix = source.Prefix; City = source.City; State = source.State; Zipcode = source.Zipcode; Country = source.Country; Lata = source.Lata; RateCenter = source.RateCenter; if (source.Latitude.HasValue) { Latitude = source.Latitude.Value; LatitudeSpecified = true; } if (source.Longitude.HasValue) { Longitude = source.Longitude.Value; LongitudeSpecified = true; } TimeZone = source.TimeZone; }
internal static Region ToRegion(CfRegion source) { return(source == null ? null : new Region(source)); }
public CfSearchAvailableNumbers(CfRegion region, bool tollFree, int count) { Region = region; TollFree = tollFree; Count = count; }
public CfCreateNumberOrderBulkLocal(int count, CfRegion region) { Count = count; Region = region; }
public CfRegionQuery(long maxResults, long firstResult, CfRegion region) : base(maxResults, firstResult) { Region = region; }
public CfQueryNumbers(long maxResults, long firstResult, CfRegion region, string labelName) : base(maxResults, firstResult, region) { LabelName = labelName; }