Class AllocationRequestItem
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record AllocationRequestItem : IJsonOnDeserialized, IEquatable<AllocationRequestItem>
- Inheritance
-
AllocationRequestItem
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }
Property Value
IsControl
Whether this allocation is the control group
[JsonPropertyName("is_control")]
public required bool IsControl { get; set; }
Property Value
IsFallback
Whether this allocation is the default fallback (segment strategy only)
[JsonPropertyName("is_fallback")]
public bool? IsFallback { get; set; }
Property Value
- bool?
Priority
Evaluation order; 1 = highest priority (segment strategy only)
[JsonPropertyName("priority")]
public int? Priority { get; set; }
Property Value
- int?
SegmentId
The segment this allocation targets (segment strategy only)
[JsonPropertyName("segment_id")]
public string? SegmentId { get; set; }
Property Value
VariationId
The ID of the variation to allocate
[JsonPropertyName("variation_id")]
public required string VariationId { get; set; }
Property Value
Weight
Percentage weight for this allocation (percentage strategy only)
[JsonPropertyName("weight")]
public int? Weight { get; set; }
Property Value
- int?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.