public Number(CfNumber source) { Number1 = source.Number1; NationalFormat = source.NationalFormat; TollFree = source.TollFree; Region = RegionMapper.ToRegion(source.Region); if (source.Status.HasValue) { Status = EnumeratedMapper.ToSoapEnumerated <NumberStatus>(source.Status.Value.ToString()); StatusSpecified = true; } LeaseInfo = LeaseInfoMapper.ToLeaseInfo(source.LeaseInfo); NumberConfiguration = NumberConfigurationMapper.ToNumberConfiguration(source.NumberConfiguration); }
public ConfigureNumber(CfConfigureNumber source) { Number = source.Number; NumberConfiguration = NumberConfigurationMapper.ToNumberConfiguration(source.NumberConfiguration); }