/// <summary> /// Initializes a new instance of the <see cref="DiagramObjectConnectorRm" /> class. /// </summary> /// <param name="connectorMode">Connector proceed mode [0=Proceed, 1=EvaluateFormule].</param> /// <param name="emergencyOutcome">emergencyOutcome.</param> /// <param name="emergencyVariable">emergencyVariable.</param> /// <param name="defaultOutcome">defaultOutcome.</param> public DiagramObjectConnectorRm(int?connectorMode = default(int?), OutcomeInfoRm emergencyOutcome = default(OutcomeInfoRm), VariableInfoRm emergencyVariable = default(VariableInfoRm), OutcomeInfoRm defaultOutcome = default(OutcomeInfoRm), Guid?id = default(Guid?), Guid?diagramId = default(Guid?), int?objectType = default(int?)) : base(id, diagramId, objectType) { this.ConnectorMode = connectorMode; this.EmergencyOutcome = emergencyOutcome; this.EmergencyVariable = emergencyVariable; this.DefaultOutcome = defaultOutcome; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationActivateOutcomeRm" /> class. /// </summary> /// <param name="outcome">outcome (required).</param> /// <param name="validationFormula">Formula to activate the outcome, should produce a bool result (required).</param> public OperationConfigurationActivateOutcomeRm(OutcomeInfoRm outcome = default(OutcomeInfoRm), string validationFormula = default(string), int?operationType = default(int?), OperationRetryConfigurationRm retryConfiguration = default(OperationRetryConfigurationRm), EventInfoRm onErrorEventConfiguration = default(EventInfoRm), EventInfoRm onFailedEventConfiguration = default(EventInfoRm), bool?invalidateOtherOperations = default(bool?), string userDescription = default(string)) : base(operationType, retryConfiguration, onErrorEventConfiguration, onFailedEventConfiguration, invalidateOtherOperations, userDescription) { // to ensure "outcome" is required (not null) if (outcome == null) { throw new InvalidDataException("outcome is a required property for OperationConfigurationActivateOutcomeRm and cannot be null"); } else { this.Outcome = outcome; } // to ensure "validationFormula" is required (not null) if (validationFormula == null) { throw new InvalidDataException("validationFormula is a required property for OperationConfigurationActivateOutcomeRm and cannot be null"); } else { this.ValidationFormula = validationFormula; } }
/// <summary> /// Initializes a new instance of the <see cref="DiagramObjectLinkRm" /> class. /// </summary> /// <param name="outcome">outcome.</param> /// <param name="srcObjectId">Source object identifier.</param> /// <param name="destObjectId">Destination object identifier.</param> public DiagramObjectLinkRm(OutcomeInfoRm outcome = default(OutcomeInfoRm), Guid?srcObjectId = default(Guid?), Guid?destObjectId = default(Guid?), Guid?id = default(Guid?), Guid?diagramId = default(Guid?), int?objectType = default(int?)) : base(id, diagramId, objectType) { this.Outcome = outcome; this.SrcObjectId = srcObjectId; this.DestObjectId = destObjectId; }