internal static InboundConfig ToInboundConfig(CfInboundConfig source) { if (source == null) { return null; } InboundConfig item = null; if (source.GetType() == typeof(CfIvrInboundConfig)) { item = IvrInboundConfigMapper.ToIvrInboundConfig((CfIvrInboundConfig)source); } else if (source.GetType() == typeof(CfCallTrackingConfig)) { item = CallTrackingConfigMapper.ToCallTrackingConfig((CfCallTrackingConfig)source); } return item; }
public CfNumberConfigurationInboundCallConfiguration(CfInboundConfig item) { Item = item; }