/// <summary>
 /// Initializes a new instance of the <see cref="InstantiateTemplateRequestEntity" /> class.
 /// </summary>
 /// <param name="originX">The x coordinate of the origin of the bounding box where the new components will be placed..</param>
 /// <param name="originY">The y coordinate of the origin of the bounding box where the new components will be placed..</param>
 /// <param name="templateId">The identifier of the template..</param>
 /// <param name="encodingVersion">The encoding version of the flow snippet. If not specified, this is automatically populated by the node receiving the user request. If the snippet is specified, the version will be the latest. If the snippet is not specified, the version will come from the underlying template. These details need to be replicated throughout the cluster to ensure consistency..</param>
 /// <param name="snippet">A flow snippet of the template contents. If not specified, this is automatically populated by the node receiving the user request. These details need to be replicated throughout the cluster to ensure consistency..</param>
 /// <param name="disconnectedNodeAcknowledged">Acknowledges that this node is disconnected to allow for mutable requests to proceed..</param>
 public InstantiateTemplateRequestEntity(double?originX = default(double?), double?originY = default(double?), string templateId = default(string), string encodingVersion = default(string), FlowSnippetDTO snippet = default(FlowSnippetDTO), bool?disconnectedNodeAcknowledged = default(bool?))
 {
     this.OriginX         = originX;
     this.OriginY         = originY;
     this.TemplateId      = templateId;
     this.EncodingVersion = encodingVersion;
     this.Snippet         = snippet;
     this.DisconnectedNodeAcknowledged = disconnectedNodeAcknowledged;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateDTO" /> class.
 /// </summary>
 /// <param name="uri">The URI for the template..</param>
 /// <param name="id">The id of the template..</param>
 /// <param name="groupId">The id of the Process Group that the template belongs to..</param>
 /// <param name="name">The name of the template..</param>
 /// <param name="description">The description of the template..</param>
 /// <param name="timestamp">The timestamp when this template was created..</param>
 /// <param name="encodingVersion">The encoding version of this template..</param>
 /// <param name="snippet">The contents of the template..</param>
 public TemplateDTO(string uri = default(string), string id = default(string), string groupId = default(string), string name = default(string), string description = default(string), string timestamp = default(string), string encodingVersion = default(string), FlowSnippetDTO snippet = default(FlowSnippetDTO))
 {
     this.Uri             = uri;
     this.Id              = id;
     this.GroupId         = groupId;
     this.Name            = name;
     this.Description     = description;
     this.Timestamp       = timestamp;
     this.EncodingVersion = encodingVersion;
     this.Snippet         = snippet;
 }
 /// <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;
 }