/// <summary>
 /// Initializes a new instance of the <see cref="FlowBreadcrumbEntity" /> class.
 /// </summary>
 /// <param name="id">The id of this ancestor ProcessGroup..</param>
 /// <param name="permissions">The permissions for this ancestor ProcessGroup..</param>
 /// <param name="breadcrumb">This breadcrumb..</param>
 /// <param name="parentBreadcrumb">The parent breadcrumb for this breadcrumb..</param>
 public FlowBreadcrumbEntity(string id = default(string), PermissionsDTO permissions = default(PermissionsDTO), FlowBreadcrumbDTO breadcrumb = default(FlowBreadcrumbDTO), FlowBreadcrumbEntity parentBreadcrumb = default(FlowBreadcrumbEntity))
 {
     this.Id               = id;
     this.Permissions      = permissions;
     this.Breadcrumb       = breadcrumb;
     this.ParentBreadcrumb = parentBreadcrumb;
 }
 /// <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;
 }
Esempio n. 3
0
 /// <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="ComponentRestrictionPermissionDTO" /> class.
 /// </summary>
 /// <param name="requiredPermission">The required permission necessary for this restriction..</param>
 /// <param name="permissions">The permissions for this component restriction. Note: the read permission are not used and will always be false..</param>
 public ComponentRestrictionPermissionDTO(RequiredPermissionDTO requiredPermission = default(RequiredPermissionDTO), PermissionsDTO permissions = default(PermissionsDTO))
 {
     this.RequiredPermission = requiredPermission;
     this.Permissions        = permissions;
 }
 /// <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;
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BucketEntity" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="bucket">bucket.</param>
 /// <param name="permissions">permissions.</param>
 public BucketEntity(string id = default(string), BucketDTO bucket = default(BucketDTO), PermissionsDTO permissions = default(PermissionsDTO))
 {
     this.Id          = id;
     this.Bucket      = bucket;
     this.Permissions = permissions;
 }
Esempio n. 7
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;
 }
Esempio n. 8
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;
 }
 /// <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="ProcessGroupFlowEntity" /> class.
 /// </summary>
 /// <param name="permissions">The access policy for this process group..</param>
 /// <param name="processGroupFlow">processGroupFlow.</param>
 public ProcessGroupFlowEntity(PermissionsDTO permissions = default(PermissionsDTO), ProcessGroupFlowDTO processGroupFlow = default(ProcessGroupFlowDTO))
 {
     this.Permissions      = permissions;
     this.ProcessGroupFlow = processGroupFlow;
 }
Esempio n. 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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CurrentUserEntity" /> class.
 /// </summary>
 /// <param name="identity">The user identity being serialized..</param>
 /// <param name="anonymous">Whether the current user is anonymous..</param>
 /// <param name="provenancePermissions">Permissions for querying provenance..</param>
 /// <param name="countersPermissions">Permissions for accessing counters..</param>
 /// <param name="tenantsPermissions">Permissions for accessing tenants..</param>
 /// <param name="controllerPermissions">Permissions for accessing the controller..</param>
 /// <param name="policiesPermissions">Permissions for accessing the policies..</param>
 /// <param name="systemPermissions">Permissions for accessing system..</param>
 /// <param name="restrictedComponentsPermissions">Permissions for accessing restricted components. Note: the read permission are not used and will always be false..</param>
 /// <param name="componentRestrictionPermissions">Permissions for specific component restrictions..</param>
 /// <param name="canVersionFlows">Whether the current user can version flows..</param>
 public CurrentUserEntity(string identity = default(string), bool?anonymous = default(bool?), PermissionsDTO provenancePermissions = default(PermissionsDTO), PermissionsDTO countersPermissions = default(PermissionsDTO), PermissionsDTO tenantsPermissions = default(PermissionsDTO), PermissionsDTO controllerPermissions = default(PermissionsDTO), PermissionsDTO policiesPermissions = default(PermissionsDTO), PermissionsDTO systemPermissions = default(PermissionsDTO), PermissionsDTO restrictedComponentsPermissions = default(PermissionsDTO), List <ComponentRestrictionPermissionDTO> componentRestrictionPermissions = default(List <ComponentRestrictionPermissionDTO>), bool?canVersionFlows = default(bool?))
 {
     this.Identity                        = identity;
     this.Anonymous                       = anonymous;
     this.ProvenancePermissions           = provenancePermissions;
     this.CountersPermissions             = countersPermissions;
     this.TenantsPermissions              = tenantsPermissions;
     this.ControllerPermissions           = controllerPermissions;
     this.PoliciesPermissions             = policiesPermissions;
     this.SystemPermissions               = systemPermissions;
     this.RestrictedComponentsPermissions = restrictedComponentsPermissions;
     this.ComponentRestrictionPermissions = componentRestrictionPermissions;
     this.CanVersionFlows                 = canVersionFlows;
 }
 /// <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;
 }
Esempio n. 14
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;
 }