public CallTrackingConfig(CfCallTrackingConfig source)
 {
     if (source.Id.HasValue)
     {
         id          = source.Id.Value;
         idSpecified = true;
     }
     TransferNumber = source.TransferNumber;
     Screen         = source.Screen;
     Record         = source.Record;
     if (source.IntroSoundId.HasValue)
     {
         IntroSoundId          = source.IntroSoundId.Value;
         IntroSoundIdSpecified = true;
     }
     if (source.WhisperSoundId.HasValue)
     {
         WhisperSoundId          = source.WhisperSoundId.Value;
         WhisperSoundIdSpecified = true;
     }
 }
Exemplo n.º 2
0
 internal static CallTrackingConfig ToCallTrackingConfig(CfCallTrackingConfig source)
 {
     return(source == null ? null : new CallTrackingConfig(source));
 }