/// <summary> /// Initializes a new instance of the <see cref="ManualProcessActivationRm" /> class. /// </summary> /// <param name="userInfo">userInfo (required).</param> public ManualProcessActivationRm(ArxivarUserInfoRm userInfo = default(ArxivarUserInfoRm), int?activationType = default(int?), int?eventPriority = default(int?), List <ProcessDocumentParameterRm> documents = default(List <ProcessDocumentParameterRm>), List <string> htmlNotes = default(List <string>), List <ProcessExternalParameterRm> externalParameters = default(List <ProcessExternalParameterRm>)) : base(activationType, eventPriority, documents, htmlNotes, externalParameters) { // to ensure "userInfo" is required (not null) if (userInfo == null) { throw new InvalidDataException("userInfo is a required property for ManualProcessActivationRm and cannot be null"); } else { this.UserInfo = userInfo; } }
/// <summary> /// Initializes a new instance of the <see cref="UserRecipientsRm" /> class. /// </summary> /// <param name="isInternal">Specifies if is an internal message.</param> /// <param name="user">user (required).</param> public UserRecipientsRm(bool?isInternal = default(bool?), ArxivarUserInfoRm user = default(ArxivarUserInfoRm), int?kind = default(int?)) : base(kind) { // to ensure "user" is required (not null) if (user == null) { throw new InvalidDataException("user is a required property for UserRecipientsRm and cannot be null"); } else { this.User = user; } this.IsInternal = isInternal; }
/// <summary> /// Initializes a new instance of the <see cref="EventProcessActivationRm" /> class. /// </summary> /// <param name="eventIdentifier">External event identifier (required).</param> /// <param name="eventMetadata">Event metadata, eg: event type, event description ecc....</param> /// <param name="eventConfiguration">Additional information about event, like filtering configuration.</param> /// <param name="userInfo">userInfo (required).</param> public EventProcessActivationRm(string eventIdentifier = default(string), List <KeyValueRm> eventMetadata = default(List <KeyValueRm>), List <KeyValueRm> eventConfiguration = default(List <KeyValueRm>), ArxivarUserInfoRm userInfo = default(ArxivarUserInfoRm), int?activationType = default(int?), int?eventPriority = default(int?), List <ProcessDocumentParameterRm> documents = default(List <ProcessDocumentParameterRm>), List <string> htmlNotes = default(List <string>), List <ProcessExternalParameterRm> externalParameters = default(List <ProcessExternalParameterRm>)) : base(activationType, eventPriority, documents, htmlNotes, externalParameters) { // to ensure "eventIdentifier" is required (not null) if (eventIdentifier == null) { throw new InvalidDataException("eventIdentifier is a required property for EventProcessActivationRm and cannot be null"); } else { this.EventIdentifier = eventIdentifier; } // to ensure "userInfo" is required (not null) if (userInfo == null) { throw new InvalidDataException("userInfo is a required property for EventProcessActivationRm and cannot be null"); } else { this.UserInfo = userInfo; } this.EventMetadata = eventMetadata; this.EventConfiguration = eventConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="RecordInfoRm" /> class. /// </summary> /// <param name="creationDateUtc">Creation date.</param> /// <param name="lastEditDateUtc">Last edit date.</param> /// <param name="userCreator">userCreator (required).</param> /// <param name="userLastEditor">userLastEditor (required).</param> public RecordInfoRm(DateTime?creationDateUtc = default(DateTime?), DateTime?lastEditDateUtc = default(DateTime?), ArxivarUserInfoRm userCreator = default(ArxivarUserInfoRm), ArxivarUserInfoRm userLastEditor = default(ArxivarUserInfoRm)) { // to ensure "userCreator" is required (not null) if (userCreator == null) { throw new InvalidDataException("userCreator is a required property for RecordInfoRm and cannot be null"); } else { this.UserCreator = userCreator; } // to ensure "userLastEditor" is required (not null) if (userLastEditor == null) { throw new InvalidDataException("userLastEditor is a required property for RecordInfoRm and cannot be null"); } else { this.UserLastEditor = userLastEditor; } this.CreationDateUtc = creationDateUtc; this.LastEditDateUtc = lastEditDateUtc; }
/// <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; }