/// <summary> /// Initializes a new instance of the FileEventTrigger class. /// </summary> /// <param name="sourceInfo">File event source details.</param> /// <param name="sinkInfo">Role sink info.</param> /// <param name="id">The path ID that uniquely identifies the /// object.</param> /// <param name="name">The object name.</param> /// <param name="type">The hierarchical type of the object.</param> /// <param name="systemData">Trigger in DataBoxEdge Resource</param> /// <param name="customContextTag">A custom context tag typically used /// to correlate the trigger against its usage. For example, if a /// periodic timer trigger is intended for certain specific IoT modules /// in the device, the tag can be the name or the image URL of the /// module.</param> public FileEventTrigger(FileSourceInfo sourceInfo, RoleSinkInfo sinkInfo, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string customContextTag = default(string)) : base(id, name, type, systemData) { SourceInfo = sourceInfo; SinkInfo = sinkInfo; CustomContextTag = customContextTag; CustomInit(); }
/// <summary> /// Initializes a new instance of the PeriodicTimerEventTrigger class. /// </summary> /// <param name="sourceInfo">Periodic timer details.</param> /// <param name="sinkInfo">Role Sink information.</param> /// <param name="id">The path ID that uniquely identifies the /// object.</param> /// <param name="name">The object name.</param> /// <param name="type">The hierarchical type of the object.</param> /// <param name="customContextTag">A custom context tag typically used /// to correlate the trigger against its usage. For example, if a /// periodic timer trigger is intended for certain specific IoT modules /// in the device, the tag can be the name or the image URL of the /// module.</param> public PeriodicTimerEventTrigger(PeriodicTimerSourceInfo sourceInfo, RoleSinkInfo sinkInfo, string id = default(string), string name = default(string), string type = default(string), string customContextTag = default(string)) : base(id, name, type) { SourceInfo = sourceInfo; SinkInfo = sinkInfo; CustomContextTag = customContextTag; CustomInit(); }