package model

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package json

Type Members

  1. case class Allocation(label: AllocationLabel = FallbackLabel, targeting: List[Rule], defaults: List[Variable], traffic: Percent, groupId: Option[GroupId]) extends Product with Serializable
  2. type AllocationLabel = Type
  3. case class ArrayValue(values: List[PrimitiveValue], elementType: Option[Primitive]) extends VariableValue with Product with Serializable
  4. case class Attribute(id: AttributeId, tpe: AttributeType, allowedValues: Option[Set[Value]] = None, allowedScopes: Set[ScopeId]) extends Product with Serializable
  5. type AttributeId = Type
  6. case class BooleanValue(bool: Boolean) extends PrimitiveValue with Product with Serializable
  7. type EntityId = Refined[String, MatchesRegex["^([a-z0-9]+-)*([a-z0-9]+)$"]]
  8. type EntityIdWithUnderscore = Refined[String, MatchesRegex["^([a-z0-9]+[-_])*([a-z0-9]+)$"]]
  9. case class Environment(id: EnvironmentId, name: EnvironmentName, color: Option[String]) extends Product with Serializable
  10. type EnvironmentId = Type
  11. type EnvironmentName = Type
  12. 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
  13. type ExperimentId = Type
  14. type ExperimentName = Type
  15. final case class ExperimentVariant(id: VariantId, name: VariantName, features: List[VariantFeature], traffic: Percent) extends Product with Serializable
  16. final case class ExperimentView(id: ExplicitExperimentId, traffic: Percent, targeting: List[Rule], features: List[FeatureId], variants: List[ExperimentVariant], scope: Option[ScopeId]) extends Product with Serializable
  17. type ExplicitExperimentId = Type
  18. 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
  19. type FeatureDescription = Type
  20. type FeatureId = Type
  21. type FeatureName = Type
  22. sealed abstract class FeatureStatus extends EnumEntry
  23. case class FloatValue(flt: Double) extends PrimitiveValue with Product with Serializable
  24. type GroupId = Type
  25. case class IntValue(i: Int) extends PrimitiveValue with Product with Serializable
  26. case class JsonValue(json: Json) extends VariableValue with Product with Serializable
  27. case class Namespace(id: NamespaceId, name: NamespaceName) extends Product with Serializable
  28. type NamespaceId = Type
  29. type NamespaceName = Type
  30. type Percent = Type
  31. type PercentRefinement = And[GreaterEqual[Double(0.0)], LessEqual[Double(100.0)]]
  32. sealed trait PrimitiveValue extends VariableValue
  33. case class Rollout(env: EnvironmentId, defaults: List[Variable], allocations: List[Allocation]) extends Product with Serializable
  34. final case class SamplingSettings(type: SamplingType, samplingAttr: AttributeId) extends Product with Serializable
  35. sealed abstract class SamplingType extends EnumEntry
  36. final case class Scope(id: ScopeId, name: ScopeName) extends Product with Serializable
  37. type ScopeId = Type
  38. type ScopeName = Type
  39. case class StringValue(str: String) extends PrimitiveValue with Product with Serializable
  40. final case class Tag(name: TagName) extends Product with Serializable
  41. type TagName = Type
  42. case class Variable(id: VariableId, value: VariableValue) extends Product with Serializable
  43. type VariableId = Type
  44. sealed trait VariableValue extends Product with Serializable
  45. sealed trait VariableValueType extends AnyRef
  46. final case class Variant(id: VariantId, name: VariantName, featureStatus: FeatureStatus, defaults: List[Variable], traffic: Percent) extends Product with Serializable
  47. final case class VariantFeature(featureId: FeatureId, featureStatus: FeatureStatus, variables: List[Variable]) extends Product with Serializable
  48. type VariantId = Type
  49. type VariantName = Type
  50. type Version = Type

Value Members

  1. def attrInfoProvider(attributes: Iterable[Attribute]): AttrInfoProvider
  2. object Allocation extends Serializable
  3. object AllocationLabel
  4. object AttributeId
  5. object EntityId
  6. object EntityIdWithUnderscore
  7. object EnvironmentId
  8. object EnvironmentName
  9. object ExperimentId
  10. object ExperimentName
  11. object ExperimentVariant extends Serializable
  12. object ExplicitExperimentId
  13. object Feature extends Serializable
  14. object FeatureDescription
  15. object FeatureId
  16. object FeatureName
  17. object FeatureStatus extends Enum[FeatureStatus]
  18. object GroupId
  19. object ModelJsoniterCodecs
  20. object NamespaceId
  21. object NamespaceName
  22. object Percent
  23. object SamplingType extends Enum[SamplingType]
  24. object ScopeId
  25. object ScopeName
  26. object Tag extends Serializable
  27. object TagName
  28. object Variable extends Serializable
  29. object VariableId
  30. object VariableValueType
  31. object VariantFeature extends Serializable
  32. object VariantId
  33. object VariantName
  34. object Version

Inherited from AnyRef

Inherited from Any

Ungrouped