Class AuditLogEventDto
AuditLogEventDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AuditLogEventDto")]
public class AuditLogEventDto : IValidatableObject
Constructors
View SourceAuditLogEventDto()
Initializes a new instance of the AuditLogEventDto class.
Declaration
[JsonConstructor]
protected AuditLogEventDto()
AuditLogEventDto(string, string, string, DateTime, string, string, string, string, string, string, string, string, string, string)
Initializes a new instance of the AuditLogEventDto class.
Declaration
public AuditLogEventDto(string tenantId = null, string dt = null, string eventId = null, DateTime eventTs = default, string action = null, string userId = null, string actorUserId = null, string targetUserId = null, string resourceType = null, string resourceId = null, string outcome = null, string requestId = null, string ipAddress = null, string metadataJson = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenantId | tenantId (required). |
| string | dt | dt. |
| string | eventId | eventId (required). |
| DateTime | eventTs | eventTs (required). |
| string | action | action (required). |
| string | userId | userId. |
| string | actorUserId | actorUserId. |
| string | targetUserId | targetUserId. |
| string | resourceType | resourceType. |
| string | resourceId | resourceId. |
| string | outcome | outcome. |
| string | requestId | requestId. |
| string | ipAddress | ipAddress. |
| string | metadataJson | metadataJson. |
Properties
View SourceAction
Gets or Sets Action
Declaration
[DataMember(Name = "action", IsRequired = true, EmitDefaultValue = true)]
public string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ActorUserId
Gets or Sets ActorUserId
Declaration
[DataMember(Name = "actorUserId", EmitDefaultValue = false)]
public string ActorUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Dt
Gets or Sets Dt
Declaration
[DataMember(Name = "dt", EmitDefaultValue = false)]
public string Dt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventId
Gets or Sets EventId
Declaration
[DataMember(Name = "eventId", IsRequired = true, EmitDefaultValue = true)]
public string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventTs
Gets or Sets EventTs
Declaration
[DataMember(Name = "eventTs", IsRequired = true, EmitDefaultValue = true)]
public DateTime EventTs { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
IpAddress
Gets or Sets IpAddress
Declaration
[DataMember(Name = "ipAddress", EmitDefaultValue = false)]
public string IpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MetadataJson
Gets or Sets MetadataJson
Declaration
[DataMember(Name = "metadataJson", EmitDefaultValue = false)]
public string MetadataJson { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Outcome
Gets or Sets Outcome
Declaration
[DataMember(Name = "outcome", EmitDefaultValue = false)]
public string Outcome { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Gets or Sets RequestId
Declaration
[DataMember(Name = "requestId", EmitDefaultValue = false)]
public string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResourceId
Gets or Sets ResourceId
Declaration
[DataMember(Name = "resourceId", EmitDefaultValue = false)]
public string ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResourceType
Gets or Sets ResourceType
Declaration
[DataMember(Name = "resourceType", EmitDefaultValue = false)]
public string ResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetUserId
Gets or Sets TargetUserId
Declaration
[DataMember(Name = "targetUserId", EmitDefaultValue = false)]
public string TargetUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TenantId
Gets or Sets TenantId
Declaration
[DataMember(Name = "tenantId", IsRequired = true, EmitDefaultValue = true)]
public string TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", EmitDefaultValue = false)]
public string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |