/// <summary>
 /// Initializes a new instance of the <see cref="RemoteProcessGroupStatusDTO" /> class.
 /// </summary>
 /// <param name="groupId">The unique ID of the process group that the Processor belongs to.</param>
 /// <param name="id">The unique ID of the Processor.</param>
 /// <param name="name">The name of the remote process group..</param>
 /// <param name="targetUri">The URI of the target system..</param>
 /// <param name="transmissionStatus">The transmission status of the remote process group..</param>
 /// <param name="statsLastRefreshed">The time the status for the process group was last refreshed..</param>
 /// <param name="aggregateSnapshot">A status snapshot that represents the aggregate stats of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance..</param>
 /// <param name="nodeSnapshots">A status snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null..</param>
 public RemoteProcessGroupStatusDTO(string groupId = default(string), string id = default(string), string name = default(string), string targetUri = default(string), string transmissionStatus = default(string), string statsLastRefreshed = default(string), RemoteProcessGroupStatusSnapshotDTO aggregateSnapshot = default(RemoteProcessGroupStatusSnapshotDTO), List <NodeRemoteProcessGroupStatusSnapshotDTO> nodeSnapshots = default(List <NodeRemoteProcessGroupStatusSnapshotDTO>))
 {
     this.GroupId            = groupId;
     this.Id                 = id;
     this.Name               = name;
     this.TargetUri          = targetUri;
     this.TransmissionStatus = transmissionStatus;
     this.StatsLastRefreshed = statsLastRefreshed;
     this.AggregateSnapshot  = aggregateSnapshot;
     this.NodeSnapshots      = nodeSnapshots;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NodeRemoteProcessGroupStatusSnapshotDTO" /> 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 remote process group status snapshot from the node..</param>
 public NodeRemoteProcessGroupStatusSnapshotDTO(string nodeId = default(string), string address = default(string), int?apiPort = default(int?), RemoteProcessGroupStatusSnapshotDTO statusSnapshot = default(RemoteProcessGroupStatusSnapshotDTO))
 {
     this.NodeId         = nodeId;
     this.Address        = address;
     this.ApiPort        = apiPort;
     this.StatusSnapshot = statusSnapshot;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProcessGroupStatusSnapshotEntity" /> class.
 /// </summary>
 /// <param name="id">The id of the remote process group..</param>
 /// <param name="remoteProcessGroupStatusSnapshot">remoteProcessGroupStatusSnapshot.</param>
 public RemoteProcessGroupStatusSnapshotEntity(string id = default(string), RemoteProcessGroupStatusSnapshotDTO remoteProcessGroupStatusSnapshot = default(RemoteProcessGroupStatusSnapshotDTO))
 {
     this.Id = id;
     this.RemoteProcessGroupStatusSnapshot = remoteProcessGroupStatusSnapshot;
 }