Class AuditLogSearchOptions
AuditLogSearchOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AuditLogSearchOptions")]
public class AuditLogSearchOptions : IValidatableObject
Constructors
View SourceAuditLogSearchOptions(DateTime, DateTime, string, Guid, Guid, Guid, string, string, string, string, string, string, int, string)
Initializes a new instance of the AuditLogSearchOptions class.
Declaration
public AuditLogSearchOptions(DateTime since = default, DateTime before = default, string action = null, Guid userId = default, Guid actorUserId = default, Guid targetUserId = default, string resourceType = null, string resourceId = null, string outcome = null, string requestId = null, string ipAddress = null, string eventId = null, int pageSize = 0, string cursor = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | since | since. |
| DateTime | before | before. |
| string | action | action. |
| Guid | userId | userId. |
| Guid | actorUserId | actorUserId. |
| Guid | targetUserId | targetUserId. |
| string | resourceType | resourceType. |
| string | resourceId | resourceId. |
| string | outcome | outcome. |
| string | requestId | requestId. |
| string | ipAddress | ipAddress. |
| string | eventId | eventId. |
| int | pageSize | pageSize. |
| string | cursor | cursor. |
Properties
View SourceAction
Gets or Sets Action
Declaration
[DataMember(Name = "action", EmitDefaultValue = false)]
public string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ActorUserId
Gets or Sets ActorUserId
Declaration
[DataMember(Name = "actorUserId", EmitDefaultValue = false)]
public Guid ActorUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Before
Gets or Sets Before
Declaration
[DataMember(Name = "before", EmitDefaultValue = false)]
public DateTime Before { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Cursor
Gets or Sets Cursor
Declaration
[DataMember(Name = "cursor", EmitDefaultValue = false)]
public string Cursor { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventId
Gets or Sets EventId
Declaration
[DataMember(Name = "eventId", EmitDefaultValue = false)]
public string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IpAddress
Gets or Sets IpAddress
Declaration
[DataMember(Name = "ipAddress", EmitDefaultValue = false)]
public string IpAddress { 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 |
PageSize
Gets or Sets PageSize
Declaration
[DataMember(Name = "pageSize", EmitDefaultValue = false)]
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |
Since
Gets or Sets Since
Declaration
[DataMember(Name = "since", EmitDefaultValue = false)]
public DateTime Since { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
TargetUserId
Gets or Sets TargetUserId
Declaration
[DataMember(Name = "targetUserId", EmitDefaultValue = false)]
public Guid TargetUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", EmitDefaultValue = false)]
public Guid UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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 |