package model
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- model
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Allocation(label: AllocationLabel = FallbackLabel, targeting: List[Rule], defaults: List[Variable], traffic: Percent, groupId: Option[GroupId]) extends Product with Serializable
- type AllocationLabel = Type
- case class ArrayValue(values: List[PrimitiveValue], elementType: Option[Primitive]) extends VariableValue with Product with Serializable
- case class Attribute(id: AttributeId, tpe: AttributeType, allowedValues: Option[Set[Value]] = None, allowedScopes: Set[ScopeId]) extends Product with Serializable
- type AttributeId = Type
- case class BooleanValue(bool: Boolean) extends PrimitiveValue with Product with Serializable
- type EntityId = Refined[String, MatchesRegex["^([a-z0-9]+-)*([a-z0-9]+)$"]]
- type EntityIdWithUnderscore = Refined[String, MatchesRegex["^([a-z0-9]+[-_])*([a-z0-9]+)$"]]
- case class Environment(id: EnvironmentId, name: EnvironmentName, color: Option[String]) extends Product with Serializable
- type EnvironmentId = Type
- type EnvironmentName = Type
- final case class Experiment(id: ExperimentId, name: ExperimentName, env: EnvironmentId, targeting: List[Rule], traffic: Percent, variants: List[Variant], groupId: Option[GroupId]) extends Product with Serializable
- type ExperimentId = Type
- type ExperimentName = Type
- final case class ExperimentVariant(id: VariantId, name: VariantName, features: List[VariantFeature], traffic: Percent) extends Product with Serializable
- final case class ExperimentView(id: ExplicitExperimentId, traffic: Percent, targeting: List[Rule], features: List[FeatureId], variants: List[ExperimentVariant], scope: Option[ScopeId]) extends Product with Serializable
- type ExplicitExperimentId = Type
- case class Feature(id: FeatureId, name: FeatureName, description: Option[FeatureDescription], samplingAttr: Option[AttributeId], samplingSettings: Option[SamplingSettings], defaults: List[Variable], rollouts: List[Rollout], experiments: List[Experiment], scope: Option[ScopeId], tags: Option[Set[Tag]], createdDate: Option[Instant], updatedDate: Option[Instant], version: Version = Version.Initial, sid: Sid = Feature.Sid(-1)) extends Product with Serializable
- type FeatureDescription = Type
- type FeatureId = Type
- type FeatureName = Type
- sealed abstract class FeatureStatus extends EnumEntry
- case class FloatValue(flt: Double) extends PrimitiveValue with Product with Serializable
- type GroupId = Type
- case class IntValue(i: Int) extends PrimitiveValue with Product with Serializable
- case class JsonValue(json: Json) extends VariableValue with Product with Serializable
- case class Namespace(id: NamespaceId, name: NamespaceName) extends Product with Serializable
- type NamespaceId = Type
- type NamespaceName = Type
- type Percent = Type
- type PercentRefinement = And[GreaterEqual[Double(0.0)], LessEqual[Double(100.0)]]
- sealed trait PrimitiveValue extends VariableValue
- case class Rollout(env: EnvironmentId, defaults: List[Variable], allocations: List[Allocation]) extends Product with Serializable
- final case class SamplingSettings(type: SamplingType, samplingAttr: AttributeId) extends Product with Serializable
- sealed abstract class SamplingType extends EnumEntry
- final case class Scope(id: ScopeId, name: ScopeName) extends Product with Serializable
- type ScopeId = Type
- type ScopeName = Type
- case class StringValue(str: String) extends PrimitiveValue with Product with Serializable
- final case class Tag(name: TagName) extends Product with Serializable
- type TagName = Type
- case class Variable(id: VariableId, value: VariableValue) extends Product with Serializable
- type VariableId = Type
- sealed trait VariableValue extends Product with Serializable
- sealed trait VariableValueType extends AnyRef
- final case class Variant(id: VariantId, name: VariantName, featureStatus: FeatureStatus, defaults: List[Variable], traffic: Percent) extends Product with Serializable
- final case class VariantFeature(featureId: FeatureId, featureStatus: FeatureStatus, variables: List[Variable]) extends Product with Serializable
- type VariantId = Type
- type VariantName = Type
- type Version = Type
Value Members
- def attrInfoProvider(attributes: Iterable[Attribute]): AttrInfoProvider
- object Allocation extends Serializable
- object AllocationLabel
- object AttributeId
- object EntityId
- object EntityIdWithUnderscore
- object EnvironmentId
- object EnvironmentName
- object ExperimentId
- object ExperimentName
- object ExperimentVariant extends Serializable
- object ExplicitExperimentId
- object Feature extends Serializable
- object FeatureDescription
- object FeatureId
- object FeatureName
- object FeatureStatus extends Enum[FeatureStatus]
- object GroupId
- object ModelJsoniterCodecs
- object NamespaceId
- object NamespaceName
- object Percent
- object SamplingType extends Enum[SamplingType]
- object ScopeId
- object ScopeName
- object Tag extends Serializable
- object TagName
- object Variable extends Serializable
- object VariableId
- object VariableValueType
- object VariantFeature extends Serializable
- object VariantId
- object VariantName
- object Version