public CfQueryBroadcasts(long maxResult, long firstResult, CfBroadcastType[] type, bool? running, string labelName)
 {
     MaxResults = maxResult;
     FirstResult = firstResult;
     Type = type;
     Running = running;
     LabelName = labelName;
 }
        internal static BroadcastConfig ToBroadcastConfig(CfBroadcastConfig source, CfBroadcastType type)
        {
            if (source == null || !DictionaryToConfig.ContainsKey(type))
            {
                return(null);
            }

            return(DictionaryToConfig[type].Invoke(source));
        }
        internal static BroadcastConfig ToBroadcastConfig(CfBroadcastConfig source, CfBroadcastType type)
        {
            if (source == null || !DictionaryToConfig.ContainsKey(type))
            {
                return null;
            }

            return DictionaryToConfig[type].Invoke(source);
        }
Пример #4
0
 public CfSendCall(string requestId, CfBroadcastType type, string broadcastName, CfToNumber[] toNumber,
     bool scrubBroadcastDuplicates, CfBroadcastConfig item)
 {
     RequestId = requestId;
     Type = type;
     BroadcastName = broadcastName;
     ToNumber = toNumber;
     ScrubBroadcastDuplicates = scrubBroadcastDuplicates;
     Item = item;
 }
Пример #5
0
 public CfSendCall(string requestId, CfBroadcastType type, string broadcastName, CfToNumber[] toNumber,
                   bool scrubBroadcastDuplicates, CfBroadcastConfig item)
 {
     RequestId                = requestId;
     Type                     = type;
     BroadcastName            = broadcastName;
     ToNumber                 = toNumber;
     ScrubBroadcastDuplicates = scrubBroadcastDuplicates;
     Item                     = item;
 }
 public CfSendText(string requestId, CfBroadcastType type, string broadcastName, CfToNumber[] toNumber, bool scrubBroadcastDuplicates,
     CfTextBroadcastConfig textBroadcastConfig, long? broadcastId, Boolean useDefaultBroadcast)
 {
     RequestId = requestId;
     Type = type;
     BroadcastName = broadcastName;
     ToNumber = toNumber;
     ScrubBroadcastDuplicates = scrubBroadcastDuplicates;
     TextBroadcastConfig = textBroadcastConfig;
     BroadcastId = broadcastId;
     UseDefaultBroadcast = useDefaultBroadcast;
 }
Пример #7
0
 public CfSendText(string requestId, CfBroadcastType type, string broadcastName, CfToNumber[] toNumber, bool scrubBroadcastDuplicates,
                   CfTextBroadcastConfig textBroadcastConfig, long?broadcastId, Boolean useDefaultBroadcast)
 {
     RequestId                = requestId;
     Type                     = type;
     BroadcastName            = broadcastName;
     ToNumber                 = toNumber;
     ScrubBroadcastDuplicates = scrubBroadcastDuplicates;
     TextBroadcastConfig      = textBroadcastConfig;
     BroadcastId              = broadcastId;
     UseDefaultBroadcast      = useDefaultBroadcast;
 }
Пример #8
0
 public CfBroadcast(long? id, string name, CfBroadcastStatus? status, DateTime? lastModified, CfBroadcastType? type, CfBroadcastConfig item)
 {
     Id = id;
     Name = name;
     Status = status;
     LastModified = lastModified;
     Type = type;
     Item = item;
 }