/// <summary> /// Initializes a new instance of the <see cref="ProcessGroupEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> /// <param name="status">The status of the process group..</param> /// <param name="runningCount">The number of running components in this process group..</param> /// <param name="stoppedCount">The number of stopped components in the process group..</param> /// <param name="invalidCount">The number of invalid components in the process group..</param> /// <param name="disabledCount">The number of disabled components in the process group..</param> /// <param name="activeRemotePortCount">The number of active remote ports in the process group..</param> /// <param name="inactiveRemotePortCount">The number of inactive remote ports in the process group..</param> /// <param name="upToDateCount">The number of up to date versioned process groups in the process group..</param> /// <param name="locallyModifiedCount">The number of locally modified versioned process groups in the process group..</param> /// <param name="staleCount">The number of stale versioned process groups in the process group..</param> /// <param name="locallyModifiedAndStaleCount">The number of locally modified and stale versioned process groups in the process group..</param> /// <param name="syncFailureCount">The number of versioned process groups in the process group that are unable to sync to a registry..</param> /// <param name="inputPortCount">The number of input ports in the process group..</param> /// <param name="outputPortCount">The number of output ports in the process group..</param> public ProcessGroupEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), ProcessGroupDTO component = default(ProcessGroupDTO), ProcessGroupStatusDTO status = default(ProcessGroupStatusDTO), int?runningCount = default(int?), int?stoppedCount = default(int?), int?invalidCount = default(int?), int?disabledCount = default(int?), int?activeRemotePortCount = default(int?), int?inactiveRemotePortCount = default(int?), int?upToDateCount = default(int?), int?locallyModifiedCount = default(int?), int?staleCount = default(int?), int?locallyModifiedAndStaleCount = default(int?), int?syncFailureCount = default(int?), int?inputPortCount = default(int?), int?outputPortCount = default(int?)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; this.Status = status; this.RunningCount = runningCount; this.StoppedCount = stoppedCount; this.InvalidCount = invalidCount; this.DisabledCount = disabledCount; this.ActiveRemotePortCount = activeRemotePortCount; this.InactiveRemotePortCount = inactiveRemotePortCount; this.UpToDateCount = upToDateCount; this.LocallyModifiedCount = locallyModifiedCount; this.StaleCount = staleCount; this.LocallyModifiedAndStaleCount = locallyModifiedAndStaleCount; this.SyncFailureCount = syncFailureCount; this.InputPortCount = inputPortCount; this.OutputPortCount = outputPortCount; }
/// <summary> /// Initializes a new instance of the <see cref="ControllerConfigurationEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">The controller configuration..</param> public ControllerConfigurationEntity(RevisionDTO revision = default(RevisionDTO), PermissionsDTO permissions = default(PermissionsDTO), bool?disconnectedNodeAcknowledged = default(bool?), ControllerConfigurationDTO component = default(ControllerConfigurationDTO)) { this.Revision = revision; this.Permissions = permissions; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; }
/// <summary> /// Initializes a new instance of the <see cref="TemplateEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="template">template.</param> public TemplateEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), TemplateDTO template = default(TemplateDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Template = template; }
/// <summary> /// Initializes a new instance of the <see cref="FunnelEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> public FunnelEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), FunnelDTO component = default(FunnelDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; }
/// <summary> /// Initializes a new instance of the <see cref="ControllerServiceReferencingComponentEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> /// <param name="operatePermissions">The permissions for this component operations..</param> public ControllerServiceReferencingComponentEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), ControllerServiceReferencingComponentDTO component = default(ControllerServiceReferencingComponentDTO), PermissionsDTO operatePermissions = default(PermissionsDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; this.OperatePermissions = operatePermissions; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteProcessGroupPortEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="remoteProcessGroupPort">remoteProcessGroupPort.</param> /// <param name="operatePermissions">The permissions for this component operations..</param> public RemoteProcessGroupPortEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), RemoteProcessGroupPortDTO remoteProcessGroupPort = default(RemoteProcessGroupPortDTO), PermissionsDTO operatePermissions = default(PermissionsDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.RemoteProcessGroupPort = remoteProcessGroupPort; this.OperatePermissions = operatePermissions; }
/// <summary> /// Initializes a new instance of the <see cref="PortEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> /// <param name="status">The status of the port..</param> /// <param name="portType">portType.</param> /// <param name="operatePermissions">The permissions for this component operations..</param> public PortEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), PortDTO component = default(PortDTO), PortStatusDTO status = default(PortStatusDTO), string portType = default(string), PermissionsDTO operatePermissions = default(PermissionsDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; this.Status = status; this.PortType = portType; this.OperatePermissions = operatePermissions; }
/// <summary> /// Initializes a new instance of the <see cref="RemoteProcessGroupEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> /// <param name="status">The status of the remote process group..</param> /// <param name="inputPortCount">The number of remote input ports currently available on the target..</param> /// <param name="outputPortCount">The number of remote output ports currently available on the target..</param> /// <param name="operatePermissions">The permissions for this component operations..</param> public RemoteProcessGroupEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), RemoteProcessGroupDTO component = default(RemoteProcessGroupDTO), RemoteProcessGroupStatusDTO status = default(RemoteProcessGroupStatusDTO), int?inputPortCount = default(int?), int?outputPortCount = default(int?), PermissionsDTO operatePermissions = default(PermissionsDTO)) { this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; this.Status = status; this.InputPortCount = inputPortCount; this.OutputPortCount = outputPortCount; this.OperatePermissions = operatePermissions; }
/// <summary> /// Initializes a new instance of the <see cref="ConnectionEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="id">The id of the component..</param> /// <param name="uri">The URI for futures requests to the component..</param> /// <param name="position">The position of this component in the UI if applicable..</param> /// <param name="permissions">The permissions for this component..</param> /// <param name="bulletins">The bulletins for this component..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="component">component.</param> /// <param name="status">The status of the connection..</param> /// <param name="bends">The bend points on the connection..</param> /// <param name="labelIndex">The index of the bend point where to place the connection label..</param> /// <param name="getzIndex">The z index of the connection..</param> /// <param name="sourceId">The identifier of the source of this connection..</param> /// <param name="sourceGroupId">The identifier of the group of the source of this connection..</param> /// <param name="sourceType">The type of component the source connectable is. (required).</param> /// <param name="destinationId">The identifier of the destination of this connection..</param> /// <param name="destinationGroupId">The identifier of the group of the destination of this connection..</param> /// <param name="destinationType">The type of component the destination connectable is. (required).</param> public ConnectionEntity(RevisionDTO revision = default(RevisionDTO), string id = default(string), string uri = default(string), PositionDTO position = default(PositionDTO), PermissionsDTO permissions = default(PermissionsDTO), List <BulletinEntity> bulletins = default(List <BulletinEntity>), bool?disconnectedNodeAcknowledged = default(bool?), ConnectionDTO component = default(ConnectionDTO), ConnectionStatusDTO status = default(ConnectionStatusDTO), List <PositionDTO> bends = default(List <PositionDTO>), int?labelIndex = default(int?), long?getzIndex = default(long?), string sourceId = default(string), string sourceGroupId = default(string), SourceTypeEnum sourceType = default(SourceTypeEnum), string destinationId = default(string), string destinationGroupId = default(string), DestinationTypeEnum destinationType = default(DestinationTypeEnum)) { // to ensure "sourceType" is required (not null) if (sourceType == null) { throw new InvalidDataException("sourceType is a required property for ConnectionEntity and cannot be null"); } else { this.SourceType = sourceType; } // to ensure "destinationType" is required (not null) if (destinationType == null) { throw new InvalidDataException("destinationType is a required property for ConnectionEntity and cannot be null"); } else { this.DestinationType = destinationType; } this.Revision = revision; this.Id = id; this.Uri = uri; this.Position = position; this.Permissions = permissions; this.Bulletins = bulletins; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.Component = component; this.Status = status; this.Bends = bends; this.LabelIndex = labelIndex; this.GetzIndex = getzIndex; this.SourceId = sourceId; this.SourceGroupId = sourceGroupId; this.DestinationId = destinationId; this.DestinationGroupId = destinationGroupId; }
/// <summary> /// Initializes a new instance of the <see cref="VariableRegistryEntity" /> class. /// </summary> /// <param name="processGroupRevision">The revision of the Process Group that the Variable Registry belongs to.</param> /// <param name="variableRegistry">The Variable Registry..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> public VariableRegistryEntity(RevisionDTO processGroupRevision = default(RevisionDTO), VariableRegistryDTO variableRegistry = default(VariableRegistryDTO), bool?disconnectedNodeAcknowledged = default(bool?)) { this.ProcessGroupRevision = processGroupRevision; this.VariableRegistry = variableRegistry; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; }
/// <summary> /// Initializes a new instance of the <see cref="StartVersionControlRequestEntity" /> class. /// </summary> /// <param name="versionedFlow">The versioned flow.</param> /// <param name="processGroupRevision">The Revision of the Process Group under Version Control.</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> public StartVersionControlRequestEntity(VersionedFlowDTO versionedFlow = default(VersionedFlowDTO), RevisionDTO processGroupRevision = default(RevisionDTO), bool?disconnectedNodeAcknowledged = default(bool?)) { this.VersionedFlow = versionedFlow; this.ProcessGroupRevision = processGroupRevision; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; }
/// <summary> /// Initializes a new instance of the <see cref="VersionControlInformationEntity" /> class. /// </summary> /// <param name="versionControlInformation">The Version Control information.</param> /// <param name="processGroupRevision">The Revision for the Process Group.</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> public VersionControlInformationEntity(VersionControlInformationDTO versionControlInformation = default(VersionControlInformationDTO), RevisionDTO processGroupRevision = default(RevisionDTO), bool?disconnectedNodeAcknowledged = default(bool?)) { this.VersionControlInformation = versionControlInformation; this.ProcessGroupRevision = processGroupRevision; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; }
/// <summary> /// Initializes a new instance of the <see cref="VariableRegistryUpdateRequestEntity" /> class. /// </summary> /// <param name="request">The Variable Registry Update Request.</param> /// <param name="processGroupRevision">The revision for the Process Group that owns this variable registry..</param> public VariableRegistryUpdateRequestEntity(VariableRegistryUpdateRequestDTO request = default(VariableRegistryUpdateRequestDTO), RevisionDTO processGroupRevision = default(RevisionDTO)) { this.Request = request; this.ProcessGroupRevision = processGroupRevision; }
/// <summary> /// Initializes a new instance of the <see cref="VersionedFlowSnapshotEntity" /> class. /// </summary> /// <param name="versionedFlowSnapshot">The versioned flow snapshot.</param> /// <param name="processGroupRevision">The Revision of the Process Group under Version Control.</param> /// <param name="registryId">The ID of the Registry that this flow belongs to.</param> /// <param name="updateDescendantVersionedFlows">If the Process Group to be updated has a child or descendant Process Group that is also under Version Control, this specifies whether or not the contents of that child/descendant Process Group should be updated..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> public VersionedFlowSnapshotEntity(VersionedFlowSnapshot versionedFlowSnapshot = default(VersionedFlowSnapshot), RevisionDTO processGroupRevision = default(RevisionDTO), string registryId = default(string), bool?updateDescendantVersionedFlows = default(bool?), bool?disconnectedNodeAcknowledged = default(bool?)) { this.VersionedFlowSnapshot = versionedFlowSnapshot; this.ProcessGroupRevision = processGroupRevision; this.RegistryId = registryId; this.UpdateDescendantVersionedFlows = updateDescendantVersionedFlows; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; }
/// <summary> /// Initializes a new instance of the <see cref="VersionControlComponentMappingEntity" /> class. /// </summary> /// <param name="versionControlComponentMapping">The mapping of Versioned Component Identifiers to instance ID's.</param> /// <param name="processGroupRevision">The revision of the Process Group.</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> /// <param name="versionControlInformation">The Version Control information.</param> public VersionControlComponentMappingEntity(Dictionary <string, string> versionControlComponentMapping = default(Dictionary <string, string>), RevisionDTO processGroupRevision = default(RevisionDTO), bool?disconnectedNodeAcknowledged = default(bool?), VersionControlInformationDTO versionControlInformation = default(VersionControlInformationDTO)) { this.VersionControlComponentMapping = versionControlComponentMapping; this.ProcessGroupRevision = processGroupRevision; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; this.VersionControlInformation = versionControlInformation; }
/// <summary> /// Initializes a new instance of the <see cref="RemotePortRunStatusEntity" /> class. /// </summary> /// <param name="revision">The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses..</param> /// <param name="state">The run status of the RemotePort..</param> /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param> public RemotePortRunStatusEntity(RevisionDTO revision = default(RevisionDTO), StateEnum?state = default(StateEnum?), bool?disconnectedNodeAcknowledged = default(bool?)) { this.Revision = revision; this.State = state; this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged; }
/// <summary> /// Initializes a new instance of the <see cref="VersionedFlowUpdateRequestEntity" /> class. /// </summary> /// <param name="request">The Versioned Flow Update Request.</param> /// <param name="processGroupRevision">The revision for the Process Group that owns this variable registry..</param> public VersionedFlowUpdateRequestEntity(VersionedFlowUpdateRequestDTO request = default(VersionedFlowUpdateRequestDTO), RevisionDTO processGroupRevision = default(RevisionDTO)) { this.Request = request; this.ProcessGroupRevision = processGroupRevision; }