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

            return DictionaryToConfig[type].Invoke(source);
        }
예제 #2
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;
 }
예제 #3
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;
 }
예제 #4
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;
 }