Package com.flagsmith.models
Class Flag
- java.lang.Object
-
- com.flagsmith.utils.models.BaseModel
-
- com.flagsmith.models.BaseFlag
-
- com.flagsmith.models.Flag
-
public class Flag extends BaseFlag
-
-
Constructor Summary
Constructors Constructor Description Flag()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlagfromApiFlag(com.fasterxml.jackson.databind.JsonNode node)Flag from api.static FlagfromFeatureStateModel(FeatureStateModel featureState, Object identityId)return flag from feature state model and identity id.
-
-
-
Method Detail
-
fromFeatureStateModel
public static Flag fromFeatureStateModel(FeatureStateModel featureState, Object identityId)
return flag from feature state model and identity id.- Parameters:
featureState- feature state modelidentityId- identity id- Returns:
-
fromApiFlag
public static Flag fromApiFlag(com.fasterxml.jackson.databind.JsonNode node)
Flag from api.- Parameters:
node- node object- Returns:
-
-