TransactionId

class TransactionId @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val value: String)

An opaque handle identifying a captured network transaction.

Library-constructed: both the constructor and the value accessor are restricted to the io.github.twinsen81 library group, so only :lustro constructs and reads it while consumers treat it as an opaque token. Not a value class, so it remains a stable, mockable reference type.

Constructors

Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
constructor(value: String)

Properties

Link copied to clipboard
@get:RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
val value: String

The underlying identifier string; for library-group use only.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Equality by the underlying value.

Link copied to clipboard
open override fun hashCode(): Int

Hash code consistent with equals.

Link copied to clipboard
open override fun toString(): String

Returns the underlying identifier string.