Ejemplo n.º 1
0
 protected BroadcastConfig(long identifier, DateTime created, string fromNumber,
                           LocalTimeZoneRestriction localTimeZoneRestriction, BroadcastConfigRetryConfig retryConfig)
 {
     id         = identifier;
     Created    = created;
     FromNumber = fromNumber;
     LocalTimeZoneRestriction = localTimeZoneRestriction;
     RetryConfig = retryConfig;
 }
 protected BroadcastConfig(long identifier, DateTime created, string fromNumber,
     LocalTimeZoneRestriction localTimeZoneRestriction, BroadcastConfigRetryConfig retryConfig)
 {
     id = identifier;
     Created = created;
     FromNumber = fromNumber;
     LocalTimeZoneRestriction = localTimeZoneRestriction;
     RetryConfig = retryConfig;
 }
 internal static CfBroadcastConfigRetryConfig FromBroadcastConfigRetryConfig(BroadcastConfigRetryConfig source)
 {
     if (source == null)
     {
         return null;
     }
     var retry = EnumeratedMapper.ArrayFromSoapEnumerated<CfResult>(source.RetryResults);
     var retryPhoneType = EnumeratedMapper.ArrayFromSoapEnumerated<CfRetryPhoneType>(source.RetryPhoneTypes);
     return new CfBroadcastConfigRetryConfig(source.MaxAttempts, source.MinutesBetweenAttempts, retry, retryPhoneType);
 }