Class FeaturesStatistics
java.lang.Object
com.example.featuretogglelibrary.model.FeaturesStatistics
Represents the statistics for feature toggles in a package.
This class is used to map the JSON response from the backend that provides
statistical information about feature toggles in a specific package.
Example JSON structure:
{
"total_features": 10,
"active_features": 6
}
Fields:
- total_features: Total number of feature toggles in the package.
- active_features: Number of currently active feature toggles in the package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetActive_features(int active_features) voidsetTotal_features(int total_features)
-
Constructor Details
-
FeaturesStatistics
public FeaturesStatistics()
-
-
Method Details
-
getTotal_features
public int getTotal_features() -
setTotal_features
public void setTotal_features(int total_features) -
getActive_features
public int getActive_features() -
setActive_features
public void setActive_features(int active_features)
-