Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessGroupStatusSnapshotEntity" /> class.
 /// </summary>
 /// <param name="id">The id of the process group..</param>
 /// <param name="processGroupStatusSnapshot">processGroupStatusSnapshot.</param>
 public ProcessGroupStatusSnapshotEntity(string id = default(string), ProcessGroupStatusSnapshotDTO processGroupStatusSnapshot = default(ProcessGroupStatusSnapshotDTO))
 {
     this.Id = id;
     this.ProcessGroupStatusSnapshot = processGroupStatusSnapshot;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NodeProcessGroupStatusSnapshotDTO" /> class.
 /// </summary>
 /// <param name="nodeId">The unique ID that identifies the node.</param>
 /// <param name="address">The API address of the node.</param>
 /// <param name="apiPort">The API port used to communicate with the node.</param>
 /// <param name="statusSnapshot">The process group status snapshot from the node..</param>
 public NodeProcessGroupStatusSnapshotDTO(string nodeId = default(string), string address = default(string), int?apiPort = default(int?), ProcessGroupStatusSnapshotDTO statusSnapshot = default(ProcessGroupStatusSnapshotDTO))
 {
     this.NodeId         = nodeId;
     this.Address        = address;
     this.ApiPort        = apiPort;
     this.StatusSnapshot = statusSnapshot;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessGroupStatusDTO" /> class.
 /// </summary>
 /// <param name="id">The ID of the Process Group.</param>
 /// <param name="name">The name of the Process Group.</param>
 /// <param name="statsLastRefreshed">The time the status for the process group was last refreshed..</param>
 /// <param name="aggregateSnapshot">The aggregate status of all nodes in the cluster.</param>
 /// <param name="nodeSnapshots">The status reported by each node in the cluster. If the NiFi instance is a standalone instance, rather than a clustered instance, this value may be null..</param>
 public ProcessGroupStatusDTO(string id = default(string), string name = default(string), string statsLastRefreshed = default(string), ProcessGroupStatusSnapshotDTO aggregateSnapshot = default(ProcessGroupStatusSnapshotDTO), List <NodeProcessGroupStatusSnapshotDTO> nodeSnapshots = default(List <NodeProcessGroupStatusSnapshotDTO>))
 {
     this.Id   = id;
     this.Name = name;
     this.StatsLastRefreshed = statsLastRefreshed;
     this.AggregateSnapshot  = aggregateSnapshot;
     this.NodeSnapshots      = nodeSnapshots;
 }