ff4k
Toggle table of contents
0.4.0
common
Target filter
common
Switch theme
Search in API
Skip to content
ff4k
ff4k-core
/
com.yonatankarp.ff4k
/
Feature
Feature
@
Serializable
data
class
Feature
(
val
id
:
String
,
val
enabled
:
Boolean
=
false
,
val
description
:
String
?
=
null
,
val
group
:
String
?
=
null
,
val
permissions
:
Set
<
String
>
=
emptySet()
,
val
strategy
:
FlippingStrategy
?
=
null
,
val
properties
:
List
<
Property
<
Any
>
>
=
emptyList()
)
(
source
)
Members
Constructors
Feature
Link copied to clipboard
constructor
(
id
:
String
,
enabled
:
Boolean
=
false
,
description
:
String
?
=
null
,
group
:
String
?
=
null
,
permissions
:
Set
<
String
>
=
emptySet()
,
strategy
:
FlippingStrategy
?
=
null
,
properties
:
List
<
Property
<
Any
>
>
=
emptyList()
)
Properties
description
Link copied to clipboard
val
description
:
String
?
enabled
Link copied to clipboard
val
enabled
:
Boolean
group
Link copied to clipboard
val
group
:
String
?
id
Link copied to clipboard
val
id
:
String
permissions
Link copied to clipboard
val
permissions
:
Set
<
String
>
properties
Link copied to clipboard
@
Serializable
(
with
=
PropertyListSerializer::class
)
val
properties
:
List
<
Property
<
Any
>
>
strategy
Link copied to clipboard
val
strategy
:
FlippingStrategy
?
Functions
property
Link copied to clipboard
fun
property
(
name
:
String
)
:
Property
<
Any
>
?