コード例 #1
0
        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;
 }