Example #1
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 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PortStatusEntity" /> class.
 /// </summary>
 /// <param name="portStatus">portStatus.</param>
 public PortStatusEntity(PortStatusDTO portStatus = default(PortStatusDTO))
 {
     this.PortStatus = portStatus;
 }