ExperimentSaveRequest
Namespace AgentPrism · Assembly
AgentPrism.AspNetCore.dllRequest to create/update an experiment. The name comes from the path.
public sealed record ExperimentSaveRequest : IEquatable<ExperimentSaveRequest>Inheritance
Section titled “Inheritance”object ← ExperimentSaveRequest
Implements
Section titled “Implements”IEquatable<ExperimentSaveRequest>
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”ExperimentSaveRequest()
Section titled “ ExperimentSaveRequest()”public ExperimentSaveRequest()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Name of the agent whose traffic is split.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”Variants
Section titled “ Variants”The experiment’s arms. Weights must sum to 100.
public required IReadOnlyList<ExperimentVariant> Variants { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<ExperimentVariant>
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(ExperimentSaveRequest?)
Section titled “ Equals(ExperimentSaveRequest?)”public bool Equals(ExperimentSaveRequest? other)Parameters
Section titled “Parameters”other ExperimentSaveRequest?
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 ==(ExperimentSaveRequest?, ExperimentSaveRequest?)
Section titled “ operator ==(ExperimentSaveRequest?, ExperimentSaveRequest?)”public static bool operator ==(ExperimentSaveRequest? left, ExperimentSaveRequest? right)Parameters
Section titled “Parameters”left ExperimentSaveRequest?
right ExperimentSaveRequest?
Returns
Section titled “Returns”operator !=(ExperimentSaveRequest?, ExperimentSaveRequest?)
Section titled “ operator !=(ExperimentSaveRequest?, ExperimentSaveRequest?)”public static bool operator !=(ExperimentSaveRequest? left, ExperimentSaveRequest? right)Parameters
Section titled “Parameters”left ExperimentSaveRequest?
right ExperimentSaveRequest?