FeatureUpdateRequest
ENUM
FeatureUpdateRequest
public enum FeatureUpdateRequest
Describes the different ways that a features status can be updated.
- Warning: This is intended for
CausalClient
use only.
Cases
on(outputJson:impressionId:)
case on(outputJson: JSONObject, impressionId: ImpressionId?)
Update this Feature to be on (active)
- Parameters:
- outputJson: The encoded output data for this active feature.
- impressionId: (Optional) will overwrite the
_impressionId
supplied inoutputJson
. This is useful when hydrating a feature from a cached value where the cached impression id is no longer needed and the new impression id should be set.
off
case off
Update this feature to be off (inactive)
defaultStatus
case defaultStatus
Update this feature to the default status. This can either be off
or on
with the default Output values.