/// <summary> /// Initializes a new instance of the <see cref="OperationsConfigurationRm" /> class. /// </summary> /// <param name="operationType">Operation type [0=Test, 1=ActivateOutcome, 2=Chrono, 3=ThrowEvent, 4=SendIxFe, 5=RecalcRelations, 6=Binder, 7=Folder, 8=SetVariablesBySqlQuery, 9=SetVariablesByRestApiCall, 10=SetVariableByFormula, 11=SetVariableByDefaultValue, 12=SetVariablesByModuleFields, 13=ExecuteSqlQuery, 14=ExecuteRestApiCall, 15=CreateNote, 16=StartProcess, 17=CopyDocumentLocal, 18=CopyDocumentOnline, 19=CompileModule, 20=SetToSend, 21=SendIxCe, 22=RemoveLocalDocumentCopy, 23=SetVariablesByProfileFields, 24=UpdateProfile, 25=SetProcessDeleteOption, 26=IxFeApproveReject, 27=SendEmail, 28=CreateBinder].</param> /// <param name="retryConfiguration">retryConfiguration.</param> /// <param name="onErrorEventConfiguration">onErrorEventConfiguration.</param> /// <param name="onFailedEventConfiguration">onFailedEventConfiguration.</param> /// <param name="invalidateOtherOperations">Indicated if the next operations can be executed even if the current operation fails.</param> /// <param name="userDescription">Operation description.</param> public OperationsConfigurationRm(int?operationType = default(int?), OperationRetryConfigurationRm retryConfiguration = default(OperationRetryConfigurationRm), EventInfoRm onErrorEventConfiguration = default(EventInfoRm), EventInfoRm onFailedEventConfiguration = default(EventInfoRm), bool?invalidateOtherOperations = default(bool?), string userDescription = default(string)) { this.OperationType = operationType; this.RetryConfiguration = retryConfiguration; this.OnErrorEventConfiguration = onErrorEventConfiguration; this.OnFailedEventConfiguration = onFailedEventConfiguration; this.InvalidateOtherOperations = invalidateOtherOperations; this.UserDescription = userDescription; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationSendIxFeRm" /> class. /// </summary> /// <param name="primary">Add primary document.</param> /// <param name="secondary">Add secondary document.</param> /// <param name="attachment">Add attachment.</param> /// <param name="varBoolSendResult">varBoolSendResult.</param> public OperationConfigurationSendIxFeRm(bool?primary = default(bool?), bool?secondary = default(bool?), bool?attachment = default(bool?), VariableInfoRm varBoolSendResult = default(VariableInfoRm), 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) { this.Primary = primary; this.Secondary = secondary; this.Attachment = attachment; this.VarBoolSendResult = varBoolSendResult; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationIxFeApproveRejectRm" /> class. /// </summary> /// <param name="boolApproveVar">boolApproveVar (required).</param> /// <param name="stringRejectReasonVar">stringRejectReasonVar.</param> public OperationConfigurationIxFeApproveRejectRm(VariableInfoRm boolApproveVar = default(VariableInfoRm), VariableInfoRm stringRejectReasonVar = default(VariableInfoRm), 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 "boolApproveVar" is required (not null) if (boolApproveVar == null) { throw new InvalidDataException("boolApproveVar is a required property for OperationConfigurationIxFeApproveRejectRm and cannot be null"); } else { this.BoolApproveVar = boolApproveVar; } this.StringRejectReasonVar = stringRejectReasonVar; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationExecuteRestApiCallRm" /> class. /// </summary> /// <param name="apiInfo">apiInfo (required).</param> public OperationConfigurationExecuteRestApiCallRm(RestApiCallConfigurationInfoRm apiInfo = default(RestApiCallConfigurationInfoRm), 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 "apiInfo" is required (not null) if (apiInfo == null) { throw new InvalidDataException("apiInfo is a required property for OperationConfigurationExecuteRestApiCallRm and cannot be null"); } else { this.ApiInfo = apiInfo; } }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationStartProcessRm" /> class. /// </summary> /// <param name="diagramName">Diagram name.</param> /// <param name="diagramRevision">Diagram revision.</param> /// <param name="diagramId">Diagram identifier.</param> /// <param name="parentDiagramId">Parent diagram identifier.</param> /// <param name="startOptions">startOptions (required).</param> public OperationConfigurationStartProcessRm(string diagramName = default(string), int?diagramRevision = default(int?), Guid?diagramId = default(Guid?), Guid?parentDiagramId = default(Guid?), SubProcessStartOptionsRm startOptions = default(SubProcessStartOptionsRm), 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 "startOptions" is required (not null) if (startOptions == null) { throw new InvalidDataException("startOptions is a required property for OperationConfigurationStartProcessRm and cannot be null"); } else { this.StartOptions = startOptions; } this.DiagramName = diagramName; this.DiagramRevision = diagramRevision; this.DiagramId = diagramId; this.ParentDiagramId = parentDiagramId; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationCopyDocumentLocalRm" /> class. /// </summary> public OperationConfigurationCopyDocumentLocalRm(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) { }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationSetVariablesByProfileFieldsRm" /> class. /// </summary> /// <param name="mappings">Mapping from profile fields and variables (required).</param> public OperationConfigurationSetVariablesByProfileFieldsRm(List <MappingVariableProfileFieldRm> mappings = default(List <MappingVariableProfileFieldRm>), 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 "mappings" is required (not null) if (mappings == null) { throw new InvalidDataException("mappings is a required property for OperationConfigurationSetVariablesByProfileFieldsRm and cannot be null"); } else { this.Mappings = mappings; } }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationDeleteProcessRm" /> class. /// </summary> /// <param name="options">options (required).</param> public OperationConfigurationDeleteProcessRm(ProcessDeleteOptionsRm options = default(ProcessDeleteOptionsRm), 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 "options" is required (not null) if (options == null) { throw new InvalidDataException("options is a required property for OperationConfigurationDeleteProcessRm and cannot be null"); } else { this.Options = options; } }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationUpdateProfileRm" /> class. /// </summary> /// <param name="mappings">Mapping from profile fields and variables (required).</param> /// <param name="primary">Update the primary document.</param> /// <param name="secondary">Update the secondary documents.</param> /// <param name="attachment">Update the profiled attachments.</param> /// <param name="documentsFromVariable">documentsFromVariable.</param> public OperationConfigurationUpdateProfileRm(List <MappingVariableProfileFieldRm> mappings = default(List <MappingVariableProfileFieldRm>), bool?primary = default(bool?), bool?secondary = default(bool?), bool?attachment = default(bool?), VariableInfoRm documentsFromVariable = default(VariableInfoRm), 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 "mappings" is required (not null) if (mappings == null) { throw new InvalidDataException("mappings is a required property for OperationConfigurationUpdateProfileRm and cannot be null"); } else { this.Mappings = mappings; } this.Primary = primary; this.Secondary = secondary; this.Attachment = attachment; this.DocumentsFromVariable = documentsFromVariable; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationTestRm" /> class. /// </summary> /// <param name="numThrowError">Num errors to throw.</param> /// <param name="errorMessageThrown">The error message description to throw.</param> /// <param name="duration">The operation duration.</param> /// <param name="raiseBrokenCircuitException">Raise a BrokenCircuitException.</param> public OperationConfigurationTestRm(int?numThrowError = default(int?), string errorMessageThrown = default(string), int?duration = default(int?), bool?raiseBrokenCircuitException = default(bool?), 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) { this.NumThrowError = numThrowError; this.ErrorMessageThrown = errorMessageThrown; this.Duration = duration; this.RaiseBrokenCircuitException = raiseBrokenCircuitException; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationSetVariableByDefaultValueRm" /> class. /// </summary> /// <param name="variable">variable (required).</param> /// <param name="value">value (required).</param> public OperationConfigurationSetVariableByDefaultValueRm(VariableInfoRm variable = default(VariableInfoRm), VariableDefaultValueRm value = default(VariableDefaultValueRm), 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 "variable" is required (not null) if (variable == null) { throw new InvalidDataException("variable is a required property for OperationConfigurationSetVariableByDefaultValueRm and cannot be null"); } else { this.Variable = variable; } // to ensure "value" is required (not null) if (value == null) { throw new InvalidDataException("value is a required property for OperationConfigurationSetVariableByDefaultValueRm and cannot be null"); } else { this.Value = value; } }
/// <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="OperationConfigurationSendEmailRm" /> class. /// </summary> /// <param name="priority">Specifies the priority of a mail. The default value is Normal.</param> /// <param name="isBodyHtml">isBodyHtml.</param> /// <param name="body">Gets or sets the message body.</param> /// <param name="arxivarStorageSettings">arxivarStorageSettings.</param> /// <param name="returnReceipt">returnReceipt.</param> /// <param name="subject">The email subject.</param> /// <param name="from">from.</param> /// <param name="idAccount">The account used to send the email.</param> /// <param name="sendToProfileRecipients">Specified if send the mail to the profile recipients.</param> /// <param name="to">List recipients to.</param> /// <param name="cc">List recipients Cc.</param> /// <param name="ccn">List recipients Ccn.</param> /// <param name="primary">Add primary document.</param> /// <param name="secondary">Add secondary documents.</param> /// <param name="attachment">Add attachments.</param> /// <param name="dmMailoutCreated">dmMailoutCreated.</param> public OperationConfigurationSendEmailRm(bool?priority = default(bool?), ParameterValueRm isBodyHtml = default(ParameterValueRm), string body = default(string), EmailStorageSettingsRm arxivarStorageSettings = default(EmailStorageSettingsRm), ParameterValueRm returnReceipt = default(ParameterValueRm), string subject = default(string), ArxivarUserInfoRm from = default(ArxivarUserInfoRm), int?idAccount = default(int?), bool?sendToProfileRecipients = default(bool?), List <RecipientsRm> to = default(List <RecipientsRm>), List <RecipientsRm> cc = default(List <RecipientsRm>), List <RecipientsRm> ccn = default(List <RecipientsRm>), bool?primary = default(bool?), bool?secondary = default(bool?), bool?attachment = default(bool?), VariableInfoRm dmMailoutCreated = default(VariableInfoRm), 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) { this.Priority = priority; this.IsBodyHtml = isBodyHtml; this.Body = body; this.ArxivarStorageSettings = arxivarStorageSettings; this.ReturnReceipt = returnReceipt; this.Subject = subject; this.From = from; this.IdAccount = idAccount; this.SendToProfileRecipients = sendToProfileRecipients; this.To = to; this.Cc = cc; this.Ccn = ccn; this.Primary = primary; this.Secondary = secondary; this.Attachment = attachment; this.DmMailoutCreated = dmMailoutCreated; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationBinderRm" /> class. /// </summary> /// <param name="kind">Binder operation kind [0=Insert, 1=Remove].</param> /// <param name="primary">Add primary document.</param> /// <param name="secondary">Add secondary document.</param> /// <param name="attachment">Add attachment.</param> /// <param name="related">Add related documents.</param> /// <param name="relationMode">Relation mode [0=Direct, 1=DirectIndirect, 2=Father, 3=Son].</param> /// <param name="varBinder">varBinder.</param> public OperationConfigurationBinderRm(int?kind = default(int?), bool?primary = default(bool?), bool?secondary = default(bool?), bool?attachment = default(bool?), bool?related = default(bool?), int?relationMode = default(int?), VariableInfoRm varBinder = default(VariableInfoRm), 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) { this.Kind = kind; this.Primary = primary; this.Secondary = secondary; this.Attachment = attachment; this.Related = related; this.RelationMode = relationMode; this.VarBinder = varBinder; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationCreateBinderRm" /> class. /// </summary> /// <param name="binderTypeExternalId">Binder Type External Id.</param> /// <param name="binderTypeId">Binder Type Id.</param> /// <param name="binderName">binderName (required).</param> /// <param name="binderNumber">binderNumber.</param> /// <param name="startDate">startDate.</param> /// <param name="endDate">endDate.</param> /// <param name="externalId">externalId.</param> /// <param name="mappings">Mapping from binder additional fields and variables.</param> /// <param name="binderCreatedNumber">binderCreatedNumber.</param> public OperationConfigurationCreateBinderRm(string binderTypeExternalId = default(string), int?binderTypeId = default(int?), VariableInfoRm binderName = default(VariableInfoRm), VariableInfoRm binderNumber = default(VariableInfoRm), VariableInfoRm startDate = default(VariableInfoRm), VariableInfoRm endDate = default(VariableInfoRm), VariableInfoRm externalId = default(VariableInfoRm), List <MappingVariableBinderFieldRm> mappings = default(List <MappingVariableBinderFieldRm>), VariableInfoRm binderCreatedNumber = default(VariableInfoRm), 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 "binderName" is required (not null) if (binderName == null) { throw new InvalidDataException("binderName is a required property for OperationConfigurationCreateBinderRm and cannot be null"); } else { this.BinderName = binderName; } this.BinderTypeExternalId = binderTypeExternalId; this.BinderTypeId = binderTypeId; this.BinderNumber = binderNumber; this.StartDate = startDate; this.EndDate = endDate; this.ExternalId = externalId; this.Mappings = mappings; this.BinderCreatedNumber = binderCreatedNumber; }
/// <summary> /// Initializes a new instance of the <see cref="OperationConfigurationFolderRm" /> class. /// </summary> /// <param name="rootFolder">rootFolder (required).</param> /// <param name="dynamicFolderFormula">Dynamic formula to create folder or sub folder.</param> /// <param name="kind">Folder operation kind [0=Insert, 1=Remove].</param> /// <param name="primary">Add primary document.</param> /// <param name="secondary">Add secondary document.</param> /// <param name="attachment">Add attachment.</param> /// <param name="related">Add related documents.</param> /// <param name="relationMode">Relation mode [0=Direct, 1=DirectIndirect, 2=Father, 3=Son].</param> public OperationConfigurationFolderRm(ArxFolderInfoRm rootFolder = default(ArxFolderInfoRm), string dynamicFolderFormula = default(string), int?kind = default(int?), bool?primary = default(bool?), bool?secondary = default(bool?), bool?attachment = default(bool?), bool?related = default(bool?), int?relationMode = default(int?), 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 "rootFolder" is required (not null) if (rootFolder == null) { throw new InvalidDataException("rootFolder is a required property for OperationConfigurationFolderRm and cannot be null"); } else { this.RootFolder = rootFolder; } this.DynamicFolderFormula = dynamicFolderFormula; this.Kind = kind; this.Primary = primary; this.Secondary = secondary; this.Attachment = attachment; this.Related = related; this.RelationMode = relationMode; }