RetentionPolicySaveRequest
Namespace AgentPrism · Assembly
AgentPrism.AspNetCore.dllRequest body for saving a retention policy.
public sealed record RetentionPolicySaveRequest : IEquatable<RetentionPolicySaveRequest>Inheritance
Section titled “Inheritance”object ← RetentionPolicySaveRequest
Implements
Section titled “Implements”IEquatable<RetentionPolicySaveRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RetentionPolicySaveRequest()
Section titled “ RetentionPolicySaveRequest()”public RetentionPolicySaveRequest()Properties
Section titled “Properties”Archive
Section titled “ Archive”Whether to archive rows before deleting them.
public bool Archive { get; init; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Whether the policy is enabled.
public bool Enabled { get; init; }Property Value
Section titled “Property Value”MaxAgeDays
Section titled “ MaxAgeDays”Rows older than this age are candidates for deletion.
public int? MaxAgeDays { get; init; }Property Value
Section titled “Property Value”int?
MaxRows
Section titled “ MaxRows”The maximum number of rows to keep for the target. The oldest rows are deleted.
public long? MaxRows { get; init; }Property Value
Section titled “Property Value”long?
Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RetentionPolicySaveRequest?)
Section titled “ Equals(RetentionPolicySaveRequest?)”public bool Equals(RetentionPolicySaveRequest? other)Parameters
Section titled “Parameters”other RetentionPolicySaveRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RetentionPolicySaveRequest?, RetentionPolicySaveRequest?)
Section titled “ operator ==(RetentionPolicySaveRequest?, RetentionPolicySaveRequest?)”public static bool operator ==(RetentionPolicySaveRequest? left, RetentionPolicySaveRequest? right)Parameters
Section titled “Parameters”left RetentionPolicySaveRequest?
right RetentionPolicySaveRequest?
Returns
Section titled “Returns”operator !=(RetentionPolicySaveRequest?, RetentionPolicySaveRequest?)
Section titled “ operator !=(RetentionPolicySaveRequest?, RetentionPolicySaveRequest?)”public static bool operator !=(RetentionPolicySaveRequest? left, RetentionPolicySaveRequest? right)Parameters
Section titled “Parameters”left RetentionPolicySaveRequest?
right RetentionPolicySaveRequest?