Skip to content

RetentionRunTriggerResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Response to a “run now” request.

public sealed record RetentionRunTriggerResponse : IEquatable<RetentionRunTriggerResponse>

objectRetentionRunTriggerResponse

IEquatable<RetentionRunTriggerResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public RetentionRunTriggerResponse()

The id of the enqueued job.

public required Guid JobId { get; init; }

Guid

The target to process; "*" for all targets.

public required string Target { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RetentionRunTriggerResponse? other)

other RetentionRunTriggerResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RetentionRunTriggerResponse?, RetentionRunTriggerResponse?)

Section titled “ operator ==(RetentionRunTriggerResponse?, RetentionRunTriggerResponse?)”
public static bool operator ==(RetentionRunTriggerResponse? left, RetentionRunTriggerResponse? right)

left RetentionRunTriggerResponse?

right RetentionRunTriggerResponse?

bool

operator !=(RetentionRunTriggerResponse?, RetentionRunTriggerResponse?)

Section titled “ operator !=(RetentionRunTriggerResponse?, RetentionRunTriggerResponse?)”
public static bool operator !=(RetentionRunTriggerResponse? left, RetentionRunTriggerResponse? right)

left RetentionRunTriggerResponse?

right RetentionRunTriggerResponse?

bool