public Keyword(CfKeyword source) { ShortCode = source.ShortCode; Keyword1 = source.Keyword1; if (source.Status.HasValue) { Status = EnumeratedMapper.ToSoapEnumerated <NumberStatus>(source.Status.ToString()); StatusSpecified = true; } LeaseInfo = LeaseInfoMapper.ToLeaseInfo(source.LeaseInfo); }
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); }