public class FeatureFlagsSettingsApi
extends java.lang.Object
| Constructor and Description |
|---|
FeatureFlagsSettingsApi() |
FeatureFlagsSettingsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
SettingModel |
createSetting(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues)
Create Flag This endpoint creates a new Feature Flag or Setting in a specified Config
identified by the `configId` parameter.
|
okhttp3.Call |
createSettingAsync(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues,
ApiCallback<SettingModel> _callback)
Create Flag (asynchronously) This endpoint creates a new Feature Flag or Setting in a
specified Config identified by the `configId` parameter.
|
okhttp3.Call |
createSettingCall(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues,
ApiCallback _callback)
Build call for createSetting
|
ApiResponse<SettingModel> |
createSettingWithHttpInfo(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues)
Create Flag This endpoint creates a new Feature Flag or Setting in a specified Config
identified by the `configId` parameter.
|
void |
deleteSetting(java.lang.Integer settingId)
Delete Flag This endpoint removes a Feature Flag or Setting from a specified Config,
identified by the `configId` parameter.
|
okhttp3.Call |
deleteSettingAsync(java.lang.Integer settingId,
ApiCallback<java.lang.Void> _callback)
Delete Flag (asynchronously) This endpoint removes a Feature Flag or Setting from a specified
Config, identified by the `configId` parameter.
|
okhttp3.Call |
deleteSettingCall(java.lang.Integer settingId,
ApiCallback _callback)
Build call for deleteSetting
|
ApiResponse<java.lang.Void> |
deleteSettingWithHttpInfo(java.lang.Integer settingId)
Delete Flag This endpoint removes a Feature Flag or Setting from a specified Config,
identified by the `configId` parameter.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
SettingModel |
getSetting(java.lang.Integer settingId)
Get Flag This endpoint returns the metadata attributes of a Feature Flag or Setting
identified by the `settingId` parameter.
|
okhttp3.Call |
getSettingAsync(java.lang.Integer settingId,
ApiCallback<SettingModel> _callback)
Get Flag (asynchronously) This endpoint returns the metadata attributes of a Feature Flag or
Setting identified by the `settingId` parameter.
|
okhttp3.Call |
getSettingCall(java.lang.Integer settingId,
ApiCallback _callback)
Build call for getSetting
|
java.util.List<SettingModel> |
getSettings(java.util.UUID configId)
List Flags This endpoint returns the list of the Feature Flags and Settings defined in a
specified Config, identified by the `configId` parameter.
|
okhttp3.Call |
getSettingsAsync(java.util.UUID configId,
ApiCallback<java.util.List<SettingModel>> _callback)
List Flags (asynchronously) This endpoint returns the list of the Feature Flags and Settings
defined in a specified Config, identified by the `configId` parameter.
|
okhttp3.Call |
getSettingsCall(java.util.UUID configId,
ApiCallback _callback)
Build call for getSettings
|
ApiResponse<java.util.List<SettingModel>> |
getSettingsWithHttpInfo(java.util.UUID configId)
List Flags This endpoint returns the list of the Feature Flags and Settings defined in a
specified Config, identified by the `configId` parameter.
|
ApiResponse<SettingModel> |
getSettingWithHttpInfo(java.lang.Integer settingId)
Get Flag This endpoint returns the metadata attributes of a Feature Flag or Setting
identified by the `settingId` parameter.
|
SettingModel |
replaceSetting(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel)
Replace Flag This endpoint replaces the whole value of a Feature Flag or Setting identified
by the `settingId` parameter.
|
okhttp3.Call |
replaceSettingAsync(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel,
ApiCallback<SettingModel> _callback)
Replace Flag (asynchronously) This endpoint replaces the whole value of a Feature Flag or
Setting identified by the `settingId` parameter.
|
okhttp3.Call |
replaceSettingCall(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel,
ApiCallback _callback)
Build call for replaceSetting
|
ApiResponse<SettingModel> |
replaceSettingWithHttpInfo(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel)
Replace Flag This endpoint replaces the whole value of a Feature Flag or Setting identified
by the `settingId` parameter.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
SettingModel |
updateSetting(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation)
Update Flag This endpoint updates the metadata of a Feature Flag or Setting with a collection
of [JSON Patch](https://jsonpatch.com) operations in a specified Config.
|
okhttp3.Call |
updateSettingAsync(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback<SettingModel> _callback)
Update Flag (asynchronously) This endpoint updates the metadata of a Feature Flag or Setting
with a collection of [JSON Patch](https://jsonpatch.com) operations in a specified Config.
|
okhttp3.Call |
updateSettingCall(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback _callback)
Build call for updateSetting
|
ApiResponse<SettingModel> |
updateSettingWithHttpInfo(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation)
Update Flag This endpoint updates the metadata of a Feature Flag or Setting with a collection
of [JSON Patch](https://jsonpatch.com) operations in a specified Config.
|
public FeatureFlagsSettingsApi()
public FeatureFlagsSettingsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createSettingCall(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)createSettingInitialValues - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public SettingModel createSetting(java.util.UUID configId, CreateSettingInitialValues createSettingInitialValues) throws ApiException
configId - The identifier of the Config. (required)createSettingInitialValues - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<SettingModel> createSettingWithHttpInfo(java.util.UUID configId, CreateSettingInitialValues createSettingInitialValues) throws ApiException
configId - The identifier of the Config. (required)createSettingInitialValues - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call createSettingAsync(java.util.UUID configId,
CreateSettingInitialValues createSettingInitialValues,
ApiCallback<SettingModel> _callback)
throws ApiException
configId - The identifier of the Config. (required)createSettingInitialValues - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteSettingCall(java.lang.Integer settingId,
ApiCallback _callback)
throws ApiException
settingId - The identifier of the Setting. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public void deleteSetting(java.lang.Integer settingId)
throws ApiException
settingId - The identifier of the Setting. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.lang.Void> deleteSettingWithHttpInfo(java.lang.Integer settingId) throws ApiException
settingId - The identifier of the Setting. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteSettingAsync(java.lang.Integer settingId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
settingId - The identifier of the Setting. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingCall(java.lang.Integer settingId,
ApiCallback _callback)
throws ApiException
settingId - The identifier of the Setting. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the setting data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public SettingModel getSetting(java.lang.Integer settingId) throws ApiException
settingId - The identifier of the Setting. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the setting data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<SettingModel> getSettingWithHttpInfo(java.lang.Integer settingId) throws ApiException
settingId - The identifier of the Setting. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the setting data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingAsync(java.lang.Integer settingId,
ApiCallback<SettingModel> _callback)
throws ApiException
settingId - The identifier of the Setting. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the setting data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingsCall(java.util.UUID configId,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<SettingModel> getSettings(java.util.UUID configId) throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<SettingModel>> getSettingsWithHttpInfo(java.util.UUID configId) throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getSettingsAsync(java.util.UUID configId,
ApiCallback<java.util.List<SettingModel>> _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call replaceSettingCall(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel,
ApiCallback _callback)
throws ApiException
settingId - The identifier of the Setting. (required)replaceSettingModel - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public SettingModel replaceSetting(java.lang.Integer settingId, ReplaceSettingModel replaceSettingModel) throws ApiException
settingId - The identifier of the Setting. (required)replaceSettingModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<SettingModel> replaceSettingWithHttpInfo(java.lang.Integer settingId, ReplaceSettingModel replaceSettingModel) throws ApiException
settingId - The identifier of the Setting. (required)replaceSettingModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call replaceSettingAsync(java.lang.Integer settingId,
ReplaceSettingModel replaceSettingModel,
ApiCallback<SettingModel> _callback)
throws ApiException
settingId - The identifier of the Setting. (required)replaceSettingModel - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateSettingCall(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback _callback)
throws ApiException
settingId - The identifier of the Setting. (required)jsonPatchOperation - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public SettingModel updateSetting(java.lang.Integer settingId, java.util.List<JsonPatchOperation> jsonPatchOperation) throws ApiException
settingId - The identifier of the Setting. (required)jsonPatchOperation - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<SettingModel> updateSettingWithHttpInfo(java.lang.Integer settingId, java.util.List<JsonPatchOperation> jsonPatchOperation) throws ApiException
settingId - The identifier of the Setting. (required)jsonPatchOperation - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateSettingAsync(java.lang.Integer settingId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback<SettingModel> _callback)
throws ApiException
settingId - The identifier of the Setting. (required)jsonPatchOperation - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body
object| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |