@Generated(value="cd.connect.openapi.Jersey2V3ApiGenerator", date="2019-05-10T22:38:37.127+12:00[Pacific/Auckland]") public class FeatureServiceImpl extends Object implements FeatureService, FeatureClientService
| Constructor and Description |
|---|
FeatureServiceImpl(cd.connect.openapi.support.ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<FeatureState> |
allFeatures()
Gets a list of features and their states
|
List<FeatureState> |
allFeatures(Map<String,String> extraHeaders)
Gets a list of features and their states
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
allFeaturesWithHttpInfo()
Gets a list of features and their states
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
allFeaturesWithHttpInfo(Map<String,String> extraHeaders)
Gets a list of features and their states
|
List<FeatureState> |
applyAll(List<FeatureState> body)
Sets a list of features and their states in a single request
|
List<FeatureState> |
applyAll(List<FeatureState> body,
Map<String,String> extraHeaders)
Sets a list of features and their states in a single request
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
applyAllWithHttpInfo(List<FeatureState> body)
Sets a list of features and their states in a single request
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
applyAllWithHttpInfo(List<FeatureState> body,
Map<String,String> extraHeaders)
Sets a list of features and their states in a single request
|
Integer |
count()
count number of features.
|
Integer |
count(Map<String,String> extraHeaders)
count number of features.
|
cd.connect.openapi.support.ApiResponse<Integer> |
countWithHttpInfo()
count number of features.
|
cd.connect.openapi.support.ApiResponse<Integer> |
countWithHttpInfo(Map<String,String> extraHeaders)
count number of features.
|
List<String> |
disabledFeatures()
the features that are disabled.
|
List<String> |
disabledFeatures(Map<String,String> extraHeaders)
the features that are disabled.
|
cd.connect.openapi.support.ApiResponse<List<String>> |
disabledFeaturesWithHttpInfo()
the features that are disabled.
|
cd.connect.openapi.support.ApiResponse<List<String>> |
disabledFeaturesWithHttpInfo(Map<String,String> extraHeaders)
the features that are disabled.
|
FeatureState |
disableFeature(String name)
Disables feature
|
FeatureState |
disableFeature(String name,
Map<String,String> extraHeaders)
Disables feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
disableFeatureWithHttpInfo(String name)
Disables feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
disableFeatureWithHttpInfo(String name,
Map<String,String> extraHeaders)
Disables feature
|
List<String> |
enabledFeatures()
the features that are enabled.
|
List<String> |
enabledFeatures(Map<String,String> extraHeaders)
the features that are enabled.
|
cd.connect.openapi.support.ApiResponse<List<String>> |
enabledFeaturesWithHttpInfo()
the features that are enabled.
|
cd.connect.openapi.support.ApiResponse<List<String>> |
enabledFeaturesWithHttpInfo(Map<String,String> extraHeaders)
the features that are enabled.
|
FeatureState |
enableFeature(String name)
Enables feature
|
FeatureState |
enableFeature(String name,
Map<String,String> extraHeaders)
Enables feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
enableFeatureWithHttpInfo(String name)
Enables feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
enableFeatureWithHttpInfo(String name,
Map<String,String> extraHeaders)
Enables feature
|
List<FeatureState> |
ensureExists(List<String> body)
Ensures that this list of features exists in the feature service
|
List<FeatureState> |
ensureExists(List<String> body,
Map<String,String> extraHeaders)
Ensures that this list of features exists in the feature service
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
ensureExistsWithHttpInfo(List<String> body)
Ensures that this list of features exists in the feature service
|
cd.connect.openapi.support.ApiResponse<List<FeatureState>> |
ensureExistsWithHttpInfo(List<String> body,
Map<String,String> extraHeaders)
Ensures that this list of features exists in the feature service
|
cd.connect.openapi.support.ApiClient |
getApiClient() |
FeatureState |
getFeature(String name)
Gets the details about the feature identified by the name
|
FeatureState |
getFeature(String name,
Map<String,String> extraHeaders)
Gets the details about the feature identified by the name
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
getFeatureWithHttpInfo(String name)
Gets the details about the feature identified by the name
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
getFeatureWithHttpInfo(String name,
Map<String,String> extraHeaders)
Gets the details about the feature identified by the name
|
FeatureState |
lockFeature(String name)
Locks feature
|
FeatureState |
lockFeature(String name,
Map<String,String> extraHeaders)
Locks feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
lockFeatureWithHttpInfo(String name)
Locks feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
lockFeatureWithHttpInfo(String name,
Map<String,String> extraHeaders)
Locks feature
|
String |
refresh()
refresh feature states
|
String |
refresh(Map<String,String> extraHeaders)
refresh feature states
|
cd.connect.openapi.support.ApiResponse<String> |
refreshWithHttpInfo()
refresh feature states
|
cd.connect.openapi.support.ApiResponse<String> |
refreshWithHttpInfo(Map<String,String> extraHeaders)
refresh feature states
|
void |
setApiClient(cd.connect.openapi.support.ApiClient apiClient) |
FeatureState |
unlockFeature(String name)
Unlocks feature
|
FeatureState |
unlockFeature(String name,
Map<String,String> extraHeaders)
Unlocks feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
unlockFeatureWithHttpInfo(String name)
Unlocks feature
|
cd.connect.openapi.support.ApiResponse<FeatureState> |
unlockFeatureWithHttpInfo(String name,
Map<String,String> extraHeaders)
Unlocks feature
|
public FeatureServiceImpl(cd.connect.openapi.support.ApiClient apiClient)
public cd.connect.openapi.support.ApiClient getApiClient()
public void setApiClient(cd.connect.openapi.support.ApiClient apiClient)
public List<FeatureState> allFeatures()
allFeatures in interface FeatureClientServiceallFeatures in interface FeatureServicepublic List<FeatureState> allFeatures(Map<String,String> extraHeaders)
allFeatures in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<FeatureState>> allFeaturesWithHttpInfo()
allFeaturesWithHttpInfo in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<FeatureState>> allFeaturesWithHttpInfo(Map<String,String> extraHeaders)
public List<FeatureState> applyAll(List<FeatureState> body)
applyAll in interface FeatureClientServiceapplyAll in interface FeatureServicebody - (required)public List<FeatureState> applyAll(List<FeatureState> body, Map<String,String> extraHeaders)
applyAll in interface FeatureClientServicebody - (required)public cd.connect.openapi.support.ApiResponse<List<FeatureState>> applyAllWithHttpInfo(List<FeatureState> body)
applyAllWithHttpInfo in interface FeatureClientServicebody - (required)public cd.connect.openapi.support.ApiResponse<List<FeatureState>> applyAllWithHttpInfo(List<FeatureState> body, Map<String,String> extraHeaders)
body - (required)public Integer count()
count in interface FeatureClientServicecount in interface FeatureServicepublic Integer count(Map<String,String> extraHeaders)
count in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<Integer> countWithHttpInfo()
countWithHttpInfo in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<Integer> countWithHttpInfo(Map<String,String> extraHeaders)
public FeatureState disableFeature(@PathParam(value="name") String name)
disableFeature in interface FeatureClientServicedisableFeature in interface FeatureServicename - the feature name (required)public FeatureState disableFeature(@PathParam(value="name") String name, Map<String,String> extraHeaders)
disableFeature in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> disableFeatureWithHttpInfo(String name)
disableFeatureWithHttpInfo in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> disableFeatureWithHttpInfo(String name, Map<String,String> extraHeaders)
name - the feature name (required)public List<String> disabledFeatures()
disabledFeatures in interface FeatureClientServicedisabledFeatures in interface FeatureServicepublic List<String> disabledFeatures(Map<String,String> extraHeaders)
disabledFeatures in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<String>> disabledFeaturesWithHttpInfo()
disabledFeaturesWithHttpInfo in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<String>> disabledFeaturesWithHttpInfo(Map<String,String> extraHeaders)
public FeatureState enableFeature(@PathParam(value="name") String name)
enableFeature in interface FeatureClientServiceenableFeature in interface FeatureServicename - the feature name (required)public FeatureState enableFeature(@PathParam(value="name") String name, Map<String,String> extraHeaders)
enableFeature in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> enableFeatureWithHttpInfo(String name)
enableFeatureWithHttpInfo in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> enableFeatureWithHttpInfo(String name, Map<String,String> extraHeaders)
name - the feature name (required)public List<String> enabledFeatures()
enabledFeatures in interface FeatureClientServiceenabledFeatures in interface FeatureServicepublic List<String> enabledFeatures(Map<String,String> extraHeaders)
enabledFeatures in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<String>> enabledFeaturesWithHttpInfo()
enabledFeaturesWithHttpInfo in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<List<String>> enabledFeaturesWithHttpInfo(Map<String,String> extraHeaders)
public List<FeatureState> ensureExists(List<String> body)
ensureExists in interface FeatureClientServiceensureExists in interface FeatureServicebody - (required)public List<FeatureState> ensureExists(List<String> body, Map<String,String> extraHeaders)
ensureExists in interface FeatureClientServicebody - (required)public cd.connect.openapi.support.ApiResponse<List<FeatureState>> ensureExistsWithHttpInfo(List<String> body)
ensureExistsWithHttpInfo in interface FeatureClientServicebody - (required)public cd.connect.openapi.support.ApiResponse<List<FeatureState>> ensureExistsWithHttpInfo(List<String> body, Map<String,String> extraHeaders)
body - (required)public FeatureState getFeature(@PathParam(value="name") String name)
getFeature in interface FeatureClientServicegetFeature in interface FeatureServicename - the feature name (required)public FeatureState getFeature(@PathParam(value="name") String name, Map<String,String> extraHeaders)
getFeature in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> getFeatureWithHttpInfo(String name)
getFeatureWithHttpInfo in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> getFeatureWithHttpInfo(String name, Map<String,String> extraHeaders)
name - the feature name (required)public FeatureState lockFeature(@PathParam(value="name") String name)
lockFeature in interface FeatureClientServicelockFeature in interface FeatureServicename - the feature name (required)public FeatureState lockFeature(@PathParam(value="name") String name, Map<String,String> extraHeaders)
lockFeature in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> lockFeatureWithHttpInfo(String name)
lockFeatureWithHttpInfo in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> lockFeatureWithHttpInfo(String name, Map<String,String> extraHeaders)
name - the feature name (required)public String refresh()
refresh in interface FeatureClientServicerefresh in interface FeatureServicepublic String refresh(Map<String,String> extraHeaders)
refresh in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<String> refreshWithHttpInfo()
refreshWithHttpInfo in interface FeatureClientServicepublic cd.connect.openapi.support.ApiResponse<String> refreshWithHttpInfo(Map<String,String> extraHeaders)
public FeatureState unlockFeature(@PathParam(value="name") String name)
unlockFeature in interface FeatureClientServiceunlockFeature in interface FeatureServicename - the feature name (required)public FeatureState unlockFeature(@PathParam(value="name") String name, Map<String,String> extraHeaders)
unlockFeature in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> unlockFeatureWithHttpInfo(String name)
unlockFeatureWithHttpInfo in interface FeatureClientServicename - the feature name (required)public cd.connect.openapi.support.ApiResponse<FeatureState> unlockFeatureWithHttpInfo(String name, Map<String,String> extraHeaders)
name - the feature name (required)Copyright © 2019. All rights reserved.