@Generated(value="cd.connect.openapi.Jersey2V3ApiGenerator", date="2019-05-10T22:38:37.127+12:00[Pacific/Auckland]") @Path(value="/features") public interface FeatureClientService
| 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
|
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
|
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.
|
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.
|
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
|
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.
|
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
|
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
|
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
|
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
|
String |
refresh()
refresh feature states
|
String |
refresh(Map<String,String> extraHeaders)
refresh feature states
|
cd.connect.openapi.support.ApiResponse<String> |
refreshWithHttpInfo()
refresh feature states
|
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
|
@GET @Produces(value="application/json") List<FeatureState> allFeatures()
@GET @Produces(value="application/json") List<FeatureState> allFeatures(Map<String,String> extraHeaders)
cd.connect.openapi.support.ApiResponse<List<FeatureState>> allFeaturesWithHttpInfo()
@PUT @Consumes(value="application/json") @Produces(value="application/json") List<FeatureState> applyAll(List<FeatureState> body)
body - (required)@PUT @Consumes(value="application/json") @Produces(value="application/json") List<FeatureState> applyAll(List<FeatureState> body, Map<String,String> extraHeaders)
body - (required)cd.connect.openapi.support.ApiResponse<List<FeatureState>> applyAllWithHttpInfo(List<FeatureState> body)
body - (required)@GET @Path(value="/count") @Produces(value="text/plain") Integer count()
@GET @Path(value="/count") @Produces(value="text/plain") Integer count(Map<String,String> extraHeaders)
cd.connect.openapi.support.ApiResponse<Integer> countWithHttpInfo()
@PUT
@Path(value="/disable/{name}")
@Produces(value="application/json")
FeatureState disableFeature(@PathParam(value="name")
String name)
name - the feature name (required)@PUT
@Path(value="/disable/{name}")
@Produces(value="application/json")
FeatureState disableFeature(@PathParam(value="name")
String name,
Map<String,String> extraHeaders)
name - the feature name (required)cd.connect.openapi.support.ApiResponse<FeatureState> disableFeatureWithHttpInfo(String name)
name - the feature name (required)@GET @Path(value="/disabled") @Produces(value="application/json") List<String> disabledFeatures()
@GET @Path(value="/disabled") @Produces(value="application/json") List<String> disabledFeatures(Map<String,String> extraHeaders)
cd.connect.openapi.support.ApiResponse<List<String>> disabledFeaturesWithHttpInfo()
@PUT
@Path(value="/enable/{name}")
@Produces(value="application/json")
FeatureState enableFeature(@PathParam(value="name")
String name)
name - the feature name (required)@PUT
@Path(value="/enable/{name}")
@Produces(value="application/json")
FeatureState enableFeature(@PathParam(value="name")
String name,
Map<String,String> extraHeaders)
name - the feature name (required)cd.connect.openapi.support.ApiResponse<FeatureState> enableFeatureWithHttpInfo(String name)
name - the feature name (required)@GET @Path(value="/enabled") @Produces(value="application/json") List<String> enabledFeatures()
@GET @Path(value="/enabled") @Produces(value="application/json") List<String> enabledFeatures(Map<String,String> extraHeaders)
cd.connect.openapi.support.ApiResponse<List<String>> enabledFeaturesWithHttpInfo()
@POST @Consumes(value="application/json") @Produces(value="application/json") List<FeatureState> ensureExists(List<String> body)
body - (required)@POST @Consumes(value="application/json") @Produces(value="application/json") List<FeatureState> ensureExists(List<String> body, Map<String,String> extraHeaders)
body - (required)cd.connect.openapi.support.ApiResponse<List<FeatureState>> ensureExistsWithHttpInfo(List<String> body)
body - (required)@GET
@Path(value="/feature/{name}")
@Produces(value="application/json")
FeatureState getFeature(@PathParam(value="name")
String name)
name - the feature name (required)@GET
@Path(value="/feature/{name}")
@Produces(value="application/json")
FeatureState getFeature(@PathParam(value="name")
String name,
Map<String,String> extraHeaders)
name - the feature name (required)cd.connect.openapi.support.ApiResponse<FeatureState> getFeatureWithHttpInfo(String name)
name - the feature name (required)@PUT
@Path(value="/lock/{name}")
@Produces(value="application/json")
FeatureState lockFeature(@PathParam(value="name")
String name)
name - the feature name (required)@PUT
@Path(value="/lock/{name}")
@Produces(value="application/json")
FeatureState lockFeature(@PathParam(value="name")
String name,
Map<String,String> extraHeaders)
name - the feature name (required)cd.connect.openapi.support.ApiResponse<FeatureState> lockFeatureWithHttpInfo(String name)
name - the feature name (required)@PUT @Path(value="/refresh") @Produces(value="application/json") String refresh()
@PUT @Path(value="/refresh") @Produces(value="application/json") String refresh(Map<String,String> extraHeaders)
cd.connect.openapi.support.ApiResponse<String> refreshWithHttpInfo()
@PUT
@Path(value="/unlock/{name}")
@Produces(value="application/json")
FeatureState unlockFeature(@PathParam(value="name")
String name)
name - the feature name (required)@PUT
@Path(value="/unlock/{name}")
@Produces(value="application/json")
FeatureState unlockFeature(@PathParam(value="name")
String name,
Map<String,String> extraHeaders)
name - the feature name (required)cd.connect.openapi.support.ApiResponse<FeatureState> unlockFeatureWithHttpInfo(String name)
name - the feature name (required)Copyright © 2019. All rights reserved.