Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerServiceEntity" /> 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="parentGroupId">The id of parent process group of this ControllerService..</param>
 /// <param name="component">component.</param>
 /// <param name="operatePermissions">The permissions for this component operations..</param>
 public ControllerServiceEntity(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?), string parentGroupId = default(string), ControllerServiceDTO component = default(ControllerServiceDTO), 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.ParentGroupId      = parentGroupId;
     this.Component          = component;
     this.OperatePermissions = operatePermissions;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PortDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the port..</param>
 /// <param name="comments">The comments for the port..</param>
 /// <param name="state">The state of the port..</param>
 /// <param name="type">The type of port..</param>
 /// <param name="transmitting">Whether the port has incoming or output connections to a remote NiFi. This is only applicable when the port is running in the root group..</param>
 /// <param name="concurrentlySchedulableTaskCount">The number of tasks that should be concurrently scheduled for the port..</param>
 /// <param name="userAccessControl">The users that are allowed to access the port..</param>
 /// <param name="groupAccessControl">The user groups that are allowed to access the port..</param>
 /// <param name="validationErrors">Gets the validation errors from this port. These validation errors represent the problems with the port that must be resolved before it can be started..</param>
 public PortDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string comments = default(string), StateEnum?state = default(StateEnum?), TypeEnum?type = default(TypeEnum?), bool?transmitting = default(bool?), int?concurrentlySchedulableTaskCount = default(int?), List <string> userAccessControl = default(List <string>), List <string> groupAccessControl = default(List <string>), List <string> validationErrors = default(List <string>))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name         = name;
     this.Comments     = comments;
     this.State        = state;
     this.Type         = type;
     this.Transmitting = transmitting;
     this.ConcurrentlySchedulableTaskCount = concurrentlySchedulableTaskCount;
     this.UserAccessControl  = userAccessControl;
     this.GroupAccessControl = groupAccessControl;
     this.ValidationErrors   = validationErrors;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FunnelDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 public FunnelDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LabelDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="label">The text that appears in the label..</param>
 /// <param name="width">The width of the label in pixels when at a 1:1 scale..</param>
 /// <param name="height">The height of the label in pixels when at a 1:1 scale..</param>
 /// <param name="style">The styles for this label (font-size : 12px, background-color : #eee, etc)..</param>
 public LabelDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string label = default(string), double?width = default(double?), double?height = default(double?), Dictionary <string, string> style = default(Dictionary <string, string>))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Label  = label;
     this.Width  = width;
     this.Height = height;
     this.Style  = style;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingTaskDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the reporting task..</param>
 /// <param name="type">The fully qualified type of the reporting task..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="state">The state of the reporting task..</param>
 /// <param name="comments">The comments of the reporting task..</param>
 /// <param name="persistsState">Whether the reporting task persists state..</param>
 /// <param name="restricted">Whether the reporting task requires elevated privileges..</param>
 /// <param name="deprecated">Whether the reporting task has been deprecated..</param>
 /// <param name="multipleVersionsAvailable">Whether the reporting task has multiple versions available..</param>
 /// <param name="schedulingPeriod">The frequency with which to schedule the reporting task. The format of the value willd epend on the valud of the schedulingStrategy..</param>
 /// <param name="schedulingStrategy">The scheduling strategy that determines how the schedulingPeriod value should be interpreted..</param>
 /// <param name="defaultSchedulingPeriod">The default scheduling period for the different scheduling strategies..</param>
 /// <param name="properties">The properties of the reporting task..</param>
 /// <param name="descriptors">The descriptors for the reporting tasks properties..</param>
 /// <param name="customUiUrl">The URL for the custom configuration UI for the reporting task..</param>
 /// <param name="annotationData">The annotation data for the repoting task. This is how the custom UI relays configuration to the reporting task..</param>
 /// <param name="validationErrors">Gets the validation errors from the reporting task. These validation errors represent the problems with the reporting task that must be resolved before it can be scheduled to run..</param>
 /// <param name="activeThreadCount">The number of active threads for the reporting task..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ReportingTaskDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), StateEnum?state = default(StateEnum?), string comments = default(string), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?multipleVersionsAvailable = default(bool?), string schedulingPeriod = default(string), string schedulingStrategy = default(string), Dictionary <string, string> defaultSchedulingPeriod = default(Dictionary <string, string>), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, PropertyDescriptorDTO> descriptors = default(Dictionary <string, PropertyDescriptorDTO>), string customUiUrl = default(string), string annotationData = default(string), List <string> validationErrors = default(List <string>), int?activeThreadCount = default(int?), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name                      = name;
     this.Type                      = type;
     this.Bundle                    = bundle;
     this.State                     = state;
     this.Comments                  = comments;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.SchedulingPeriod          = schedulingPeriod;
     this.SchedulingStrategy        = schedulingStrategy;
     this.DefaultSchedulingPeriod   = defaultSchedulingPeriod;
     this.Properties                = properties;
     this.Descriptors               = descriptors;
     this.CustomUiUrl               = customUiUrl;
     this.AnnotationData            = annotationData;
     this.ValidationErrors          = validationErrors;
     this.ActiveThreadCount         = activeThreadCount;
     this.ExtensionMissing          = extensionMissing;
 }
 /// <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;
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessGroupDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the process group..</param>
 /// <param name="comments">The comments for the process group..</param>
 /// <param name="versionControlInformation">The Version Control information that indicates which Flow Registry, and where in the Flow Registry, this Process Group is tracking to; or null if this Process Group is not under version control.</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>
 /// <param name="contents">The contents of this process group..</param>
 public ProcessGroupDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string comments = default(string), VersionControlInformationDTO versionControlInformation = default(VersionControlInformationDTO), 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?), FlowSnippetDTO contents = default(FlowSnippetDTO))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name     = name;
     this.Comments = comments;
     this.VersionControlInformation = versionControlInformation;
     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;
     this.Contents        = contents;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccessPolicyDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="resource">The resource for this access policy..</param>
 /// <param name="action">The action associated with this access policy..</param>
 /// <param name="componentReference">Component this policy references if applicable..</param>
 /// <param name="configurable">Whether this policy is configurable..</param>
 /// <param name="users">The set of user IDs associated with this access policy..</param>
 /// <param name="userGroups">The set of user group IDs associated with this access policy..</param>
 public AccessPolicyDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string resource = default(string), ActionEnum?action = default(ActionEnum?), ComponentReferenceEntity componentReference = default(ComponentReferenceEntity), bool?configurable = default(bool?), List <TenantEntity> users = default(List <TenantEntity>), List <TenantEntity> userGroups = default(List <TenantEntity>))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Resource             = resource;
     this.Action             = action;
     this.ComponentReference = componentReference;
     this.Configurable       = configurable;
     this.Users      = users;
     this.UserGroups = userGroups;
 }
Example #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserGroupDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="identity">The identity of the tenant..</param>
 /// <param name="configurable">Whether this tenant is configurable..</param>
 /// <param name="users">The users that belong to the user group..</param>
 public UserGroupDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string identity = default(string), bool?configurable = default(bool?), List <TenantEntity> users = default(List <TenantEntity>))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Identity             = identity;
     this.Configurable         = configurable;
     this.Users = users;
 }
Example #10
0
 /// <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;
 }
Example #11
0
 /// <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;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComponentReferenceDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the component..</param>
 public ComponentReferenceDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name = name;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerServiceDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the controller service..</param>
 /// <param name="type">The type of the controller service..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="controllerServiceApis">Lists the APIs this Controller Service implements..</param>
 /// <param name="comments">The comments for the controller service..</param>
 /// <param name="state">The state of the controller service..</param>
 /// <param name="persistsState">Whether the controller service persists state..</param>
 /// <param name="restricted">Whether the controller service requires elevated privileges..</param>
 /// <param name="deprecated">Whether the ontroller service has been deprecated..</param>
 /// <param name="multipleVersionsAvailable">Whether the controller service has multiple versions available..</param>
 /// <param name="properties">The properties of the controller service..</param>
 /// <param name="descriptors">The descriptors for the controller service properties..</param>
 /// <param name="customUiUrl">The URL for the controller services custom configuration UI if applicable..</param>
 /// <param name="annotationData">The annotation for the controller service. This is how the custom UI relays configuration to the controller service..</param>
 /// <param name="referencingComponents">All components referencing this controller service..</param>
 /// <param name="validationErrors">The validation errors from the controller service. These validation errors represent the problems with the controller service that must be resolved before it can be enabled..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ControllerServiceDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), List <ControllerServiceApiDTO> controllerServiceApis = default(List <ControllerServiceApiDTO>), string comments = default(string), StateEnum?state = default(StateEnum?), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?multipleVersionsAvailable = default(bool?), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, PropertyDescriptorDTO> descriptors = default(Dictionary <string, PropertyDescriptorDTO>), string customUiUrl = default(string), string annotationData = default(string), List <ControllerServiceReferencingComponentEntity> referencingComponents = default(List <ControllerServiceReferencingComponentEntity>), List <string> validationErrors = default(List <string>), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name   = name;
     this.Type   = type;
     this.Bundle = bundle;
     this.ControllerServiceApis = controllerServiceApis;
     this.Comments                  = comments;
     this.State                     = state;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.Properties                = properties;
     this.Descriptors               = descriptors;
     this.CustomUiUrl               = customUiUrl;
     this.AnnotationData            = annotationData;
     this.ReferencingComponents     = referencingComponents;
     this.ValidationErrors          = validationErrors;
     this.ExtensionMissing          = extensionMissing;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="identity">The identity of the tenant..</param>
 /// <param name="configurable">Whether this tenant is configurable..</param>
 public UserDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string identity = default(string), bool?configurable = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Identity             = identity;
     this.Configurable         = configurable;
 }
 /// <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="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;
 }
Example #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConnectionDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="source">The source of the connection..</param>
 /// <param name="destination">The destination of the connection..</param>
 /// <param name="name">The name of 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="selectedRelationships">The selected relationship that comprise the connection..</param>
 /// <param name="backPressureObjectThreshold">The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won&#39;t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue..</param>
 /// <param name="backPressureDataSizeThreshold">The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won&#39;t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue..</param>
 /// <param name="flowFileExpiration">The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it..</param>
 /// <param name="prioritizers">The comparators used to prioritize the queue..</param>
 /// <param name="bends">The bend points on the connection..</param>
 /// <param name="loadBalanceStrategy">How to load balance the data in this Connection across the nodes in the cluster..</param>
 /// <param name="loadBalancePartitionAttribute">The FlowFile Attribute to use for determining which node a FlowFile will go to if the Load Balancing Strategy is set to PARTITION_BY_ATTRIBUTE.</param>
 /// <param name="loadBalanceCompression">Whether or not data should be compressed when being transferred between nodes in the cluster..</param>
 public ConnectionDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), ConnectableDTO source = default(ConnectableDTO), ConnectableDTO destination = default(ConnectableDTO), string name = default(string), int?labelIndex = default(int?), long?getzIndex = default(long?), List <string> selectedRelationships = default(List <string>), long?backPressureObjectThreshold = default(long?), string backPressureDataSizeThreshold = default(string), string flowFileExpiration = default(string), List <string> prioritizers = default(List <string>), List <PositionDTO> bends = default(List <PositionDTO>), LoadBalanceStrategyEnum?loadBalanceStrategy = default(LoadBalanceStrategyEnum?), string loadBalancePartitionAttribute = default(string), LoadBalanceCompressionEnum?loadBalanceCompression = default(LoadBalanceCompressionEnum?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Source                        = source;
     this.Destination                   = destination;
     this.Name                          = name;
     this.LabelIndex                    = labelIndex;
     this.GetzIndex                     = getzIndex;
     this.SelectedRelationships         = selectedRelationships;
     this.BackPressureObjectThreshold   = backPressureObjectThreshold;
     this.BackPressureDataSizeThreshold = backPressureDataSizeThreshold;
     this.FlowFileExpiration            = flowFileExpiration;
     this.Prioritizers                  = prioritizers;
     this.Bends                         = bends;
     this.LoadBalanceStrategy           = loadBalanceStrategy;
     this.LoadBalancePartitionAttribute = loadBalancePartitionAttribute;
     this.LoadBalanceCompression        = loadBalanceCompression;
 }
Example #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessorDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the processor..</param>
 /// <param name="type">The type of the processor..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="state">The state of the processor.</param>
 /// <param name="style">Styles for the processor (background-color : #eee)..</param>
 /// <param name="description">The description of the processor..</param>
 /// <param name="supportsParallelProcessing">Whether the processor supports parallel processing..</param>
 /// <param name="supportsEventDriven">Whether the processor supports event driven scheduling..</param>
 /// <param name="supportsBatching">Whether the processor supports batching. This makes the run duration settings available..</param>
 /// <param name="persistsState">Whether the processor persists state..</param>
 /// <param name="restricted">Whether the processor requires elevated privileges..</param>
 /// <param name="deprecated">Whether the processor has been deprecated..</param>
 /// <param name="executionNodeRestricted">Indicates if the execution node of a processor is restricted to run only on the primary node.</param>
 /// <param name="multipleVersionsAvailable">Whether the processor has multiple versions available..</param>
 /// <param name="inputRequirement">The input requirement for this processor..</param>
 /// <param name="config">The configuration details for the processor. These details will be included in a response if the verbose flag is included in a request..</param>
 /// <param name="validationErrors">The validation errors for the processor. These validation errors represent the problems with the processor that must be resolved before it can be started..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ProcessorDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), StateEnum?state = default(StateEnum?), Dictionary <string, string> style = default(Dictionary <string, string>), string description = default(string), bool?supportsParallelProcessing = default(bool?), bool?supportsEventDriven = default(bool?), bool?supportsBatching = default(bool?), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?executionNodeRestricted = default(bool?), bool?multipleVersionsAvailable = default(bool?), string inputRequirement = default(string), ProcessorConfigDTO config = default(ProcessorConfigDTO), List <string> validationErrors = default(List <string>), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name        = name;
     this.Type        = type;
     this.Bundle      = bundle;
     this.State       = state;
     this.Style       = style;
     this.Description = description;
     this.SupportsParallelProcessing = supportsParallelProcessing;
     this.SupportsEventDriven        = supportsEventDriven;
     this.SupportsBatching           = supportsBatching;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.ExecutionNodeRestricted   = executionNodeRestricted;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.InputRequirement          = inputRequirement;
     this.Config           = config;
     this.ValidationErrors = validationErrors;
     this.ExtensionMissing = extensionMissing;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProcessGroupDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="targetUri">The target URI of the remote process group. If target uri is not set, but uris are set, then returns the first url in the urls. If neither target uri nor uris are set, then returns null..</param>
 /// <param name="targetUris">The target URI of the remote process group. If target uris is not set but target uri is set, then returns a collection containing the single target uri. If neither target uris nor uris are set, then returns null..</param>
 /// <param name="targetSecure">Whether the target is running securely..</param>
 /// <param name="name">The name of the remote process group..</param>
 /// <param name="comments">The comments for the remote process group..</param>
 /// <param name="communicationsTimeout">The time period used for the timeout when communicating with the target..</param>
 /// <param name="yieldDuration">When yielding, this amount of time must elapse before the remote process group is scheduled again..</param>
 /// <param name="transportProtocol">transportProtocol.</param>
 /// <param name="localNetworkInterface">The local network interface to send/receive data. If not specified, any local address is used. If clustered, all nodes must have an interface with this identifier..</param>
 /// <param name="proxyHost">proxyHost.</param>
 /// <param name="proxyPort">proxyPort.</param>
 /// <param name="proxyUser">proxyUser.</param>
 /// <param name="proxyPassword">proxyPassword.</param>
 /// <param name="authorizationIssues">Any remote authorization issues for the remote process group..</param>
 /// <param name="validationErrors">The validation errors for the remote process group. These validation errors represent the problems with the remote process group that must be resolved before it can transmit..</param>
 /// <param name="transmitting">Whether the remote process group is actively transmitting..</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="activeRemoteInputPortCount">The number of active remote input ports..</param>
 /// <param name="inactiveRemoteInputPortCount">The number of inactive remote input ports..</param>
 /// <param name="activeRemoteOutputPortCount">The number of active remote output ports..</param>
 /// <param name="inactiveRemoteOutputPortCount">The number of inactive remote output ports..</param>
 /// <param name="flowRefreshed">The timestamp when this remote process group was last refreshed..</param>
 /// <param name="contents">The contents of the remote process group. Will contain available input/output ports..</param>
 public RemoteProcessGroupDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string targetUri = default(string), string targetUris = default(string), bool?targetSecure = default(bool?), string name = default(string), string comments = default(string), string communicationsTimeout = default(string), string yieldDuration = default(string), string transportProtocol = default(string), string localNetworkInterface = default(string), string proxyHost = default(string), int?proxyPort = default(int?), string proxyUser = default(string), string proxyPassword = default(string), List <string> authorizationIssues = default(List <string>), List <string> validationErrors = default(List <string>), bool?transmitting = default(bool?), int?inputPortCount = default(int?), int?outputPortCount = default(int?), int?activeRemoteInputPortCount = default(int?), int?inactiveRemoteInputPortCount = default(int?), int?activeRemoteOutputPortCount = default(int?), int?inactiveRemoteOutputPortCount = default(int?), string flowRefreshed = default(string), RemoteProcessGroupContentsDTO contents = default(RemoteProcessGroupContentsDTO))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.TargetUri            = targetUri;
     this.TargetUris           = targetUris;
     this.TargetSecure         = targetSecure;
     this.Name     = name;
     this.Comments = comments;
     this.CommunicationsTimeout         = communicationsTimeout;
     this.YieldDuration                 = yieldDuration;
     this.TransportProtocol             = transportProtocol;
     this.LocalNetworkInterface         = localNetworkInterface;
     this.ProxyHost                     = proxyHost;
     this.ProxyPort                     = proxyPort;
     this.ProxyUser                     = proxyUser;
     this.ProxyPassword                 = proxyPassword;
     this.AuthorizationIssues           = authorizationIssues;
     this.ValidationErrors              = validationErrors;
     this.Transmitting                  = transmitting;
     this.InputPortCount                = inputPortCount;
     this.OutputPortCount               = outputPortCount;
     this.ActiveRemoteInputPortCount    = activeRemoteInputPortCount;
     this.InactiveRemoteInputPortCount  = inactiveRemoteInputPortCount;
     this.ActiveRemoteOutputPortCount   = activeRemoteOutputPortCount;
     this.InactiveRemoteOutputPortCount = inactiveRemoteOutputPortCount;
     this.FlowRefreshed                 = flowRefreshed;
     this.Contents = contents;
 }
 /// <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;
 }
Example #21
0
 /// <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;
 }