/// <summary>
 /// Initializes a new instance of the <see cref="IntegrationStatusInfo" /> class.
 /// </summary>
 /// <param name="Detail">Localizable status details for the integration..</param>
 public IntegrationStatusInfo(MessageInfo Detail = null)
 {
     this.Detail = Detail;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QualityAuditLogMessage" /> class.
 /// </summary>
 /// <param name="Id">Id of the audit message..</param>
 /// <param name="UserHomeOrgId">Home Organization Id associated with this audit message..</param>
 /// <param name="UserTrusteeOrgId">Trustee Organization Id if this audit message is from trustee access..</param>
 /// <param name="User">User associated with this audit message..</param>
 /// <param name="Client">Client associated with this audit message..</param>
 /// <param name="RemoteIps">List of IP addresses of systems that originated or handled the request..</param>
 /// <param name="ServiceName">Name of the service that logged this audit message..</param>
 /// <param name="Level">The level of this audit message..</param>
 /// <param name="Status">The status of the action of this audit message..</param>
 /// <param name="EventDate">Date and time of when the audit message was logged. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="MessageInfo">Message describing the event being audited..</param>
 /// <param name="Action">Action that took place..</param>
 /// <param name="Entity">Entity that was impacted..</param>
 /// <param name="EntityType">Type of the entity that was impacted..</param>
 /// <param name="PropertyChanges">List of properties that were changed and changes made to those properties..</param>
 /// <param name="Context">Additional context for this message..</param>
 public QualityAuditLogMessage(string Id = null, string UserHomeOrgId = null, string UserTrusteeOrgId = null, DomainEntityRef User = null, AddressableEntityRef Client = null, List <string> RemoteIps = null, ServiceNameEnum?ServiceName = null, LevelEnum?Level = null, StatusEnum?Status = null, DateTime?EventDate = null, MessageInfo MessageInfo = null, ActionEnum?Action = null, DomainEntityRef Entity = null, EntityTypeEnum?EntityType = null, List <PropertyChange> PropertyChanges = null, Dictionary <string, string> Context = null)
 {
     this.Id               = Id;
     this.UserHomeOrgId    = UserHomeOrgId;
     this.UserTrusteeOrgId = UserTrusteeOrgId;
     this.User             = User;
     this.Client           = Client;
     this.RemoteIps        = RemoteIps;
     this.ServiceName      = ServiceName;
     this.Level            = Level;
     this.Status           = Status;
     this.EventDate        = EventDate;
     this.MessageInfo      = MessageInfo;
     this.Action           = Action;
     this.Entity           = Entity;
     this.EntityType       = EntityType;
     this.PropertyChanges  = PropertyChanges;
     this.Context          = Context;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IntegrationEvent" /> class.
 /// </summary>
 /// <param name="DetailMessage">Message with additional details about the event. (e.g. an exception cause.).</param>
 public IntegrationEvent(MessageInfo DetailMessage = null)
 {
     this.DetailMessage = DetailMessage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuditLogMessage" /> class.
 /// </summary>
 /// <param name="Id">Id of the audit message..</param>
 /// <param name="User">User associated with this audit message..</param>
 /// <param name="Client">Client associated with this audit message..</param>
 /// <param name="RemoteIp">List of IP addresses of systems that originated or handled the request..</param>
 /// <param name="ServiceName">Name of the service that logged this audit message..</param>
 /// <param name="EventDate">Date and time of when the audit message was logged. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Message">Message describing the event being audited..</param>
 /// <param name="Action">Action that took place..</param>
 /// <param name="Entity">Entity that was impacted..</param>
 /// <param name="EntityType">Type of the entity that was impacted..</param>
 /// <param name="PropertyChanges">List of properties that were changed and changes made to those properties..</param>
 /// <param name="Context">Additional context for this message..</param>
 public AuditLogMessage(string Id = null, AddressableEntityRef User = null, AddressableEntityRef Client = null, List <string> RemoteIp = null, ServiceNameEnum?ServiceName = null, DateTime?EventDate = null, MessageInfo Message = null, ActionEnum?Action = null, AddressableEntityRef Entity = null, EntityTypeEnum?EntityType = null, List <PropertyChange> PropertyChanges = null, Dictionary <string, string> Context = null)
 {
     this.Id              = Id;
     this.User            = User;
     this.Client          = Client;
     this.RemoteIp        = RemoteIp;
     this.ServiceName     = ServiceName;
     this.EventDate       = EventDate;
     this.Message         = Message;
     this.Action          = Action;
     this.Entity          = Entity;
     this.EntityType      = EntityType;
     this.PropertyChanges = PropertyChanges;
     this.Context         = Context;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IntegrationEvent" /> class.
 /// </summary>
 /// <param name="Message">Message indicating what happened.</param>
 /// <param name="Entities">Collection of entities affected by or pertaining to the event (e.g. a list of Integrations or Bridge connectors).</param>
 /// <param name="ContextAttributes">Map of context attributes specific to this event..</param>
 /// <param name="DetailMessage">Message with additional details about the event. (e.g. an exception cause.).</param>
 /// <param name="User">User that took an action that resulted in the event..</param>
 public IntegrationEvent(MessageInfo Message = null, List <EventEntity> Entities = null, Dictionary <string, string> ContextAttributes = null, MessageInfo DetailMessage = null, User User = null)
 {
     this.Message           = Message;
     this.Entities          = Entities;
     this.ContextAttributes = ContextAttributes;
     this.DetailMessage     = DetailMessage;
     this.User = User;
 }