Class ZombieStaleFlagsApi
- java.lang.Object
-
- com.configcat.publicapi.java.client.api.ZombieStaleFlagsApi
-
public class ZombieStaleFlagsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ZombieStaleFlagsApi()ZombieStaleFlagsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()StaleFlagProductModelgetStaleflags(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds)List Zombie (stale) flags for Product This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.okhttp3.CallgetStaleflagsAsync(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds, ApiCallback<StaleFlagProductModel> _callback)List Zombie (stale) flags for Product (asynchronously) This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.okhttp3.CallgetStaleflagsCall(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds, ApiCallback _callback)Build call for getStaleflagsApiResponse<StaleFlagProductModel>getStaleflagsWithHttpInfo(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds)List Zombie (stale) flags for Product This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
ZombieStaleFlagsApi
public ZombieStaleFlagsApi()
-
ZombieStaleFlagsApi
public ZombieStaleFlagsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
getStaleflagsCall
public okhttp3.Call getStaleflagsCall(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds, ApiCallback _callback) throws ApiExceptionBuild call for getStaleflags- Parameters:
productId- The identifier of the Product. (required)scope- The scope of the report. (optional)staleFlagAgeDays- The inactivity in days after a feature flag should be considered stale. (optional)staleFlagStaleInEnvironmentsType- Consider a feature flag as stale if the feature flag is stale in all/any of the environments. (optional)ignoredEnvironmentIds- Ignore environment identifiers from the report. (optional)ignoredTagIds- Ignore feature flags from the report based on their tag identifiers. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
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. -
-
getStaleflags
public StaleFlagProductModel getStaleflags(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds) throws ApiException
List Zombie (stale) flags for Product This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.- Parameters:
productId- The identifier of the Product. (required)scope- The scope of the report. (optional)staleFlagAgeDays- The inactivity in days after a feature flag should be considered stale. (optional)staleFlagStaleInEnvironmentsType- Consider a feature flag as stale if the feature flag is stale in all/any of the environments. (optional)ignoredEnvironmentIds- Ignore environment identifiers from the report. (optional)ignoredTagIds- Ignore feature flags from the report based on their tag identifiers. (optional)- Returns:
- StaleFlagProductModel
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
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. -
-
getStaleflagsWithHttpInfo
public ApiResponse<StaleFlagProductModel> getStaleflagsWithHttpInfo(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds) throws ApiException
List Zombie (stale) flags for Product This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.- Parameters:
productId- The identifier of the Product. (required)scope- The scope of the report. (optional)staleFlagAgeDays- The inactivity in days after a feature flag should be considered stale. (optional)staleFlagStaleInEnvironmentsType- Consider a feature flag as stale if the feature flag is stale in all/any of the environments. (optional)ignoredEnvironmentIds- Ignore environment identifiers from the report. (optional)ignoredTagIds- Ignore feature flags from the report based on their tag identifiers. (optional)- Returns:
- ApiResponse<StaleFlagProductModel>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
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. -
-
getStaleflagsAsync
public okhttp3.Call getStaleflagsAsync(java.util.UUID productId, StaleFlagReminderScope scope, java.lang.Integer staleFlagAgeDays, StaleFlagStaleInEnvironmentsType staleFlagStaleInEnvironmentsType, java.util.List<java.util.UUID> ignoredEnvironmentIds, java.util.List<java.lang.Long> ignoredTagIds, ApiCallback<StaleFlagProductModel> _callback) throws ApiExceptionList Zombie (stale) flags for Product (asynchronously) This endpoint returns the list of Zombie (stale) flags for a given Product and the result can be optionally filtered by various parameters.- Parameters:
productId- The identifier of the Product. (required)scope- The scope of the report. (optional)staleFlagAgeDays- The inactivity in days after a feature flag should be considered stale. (optional)staleFlagStaleInEnvironmentsType- Consider a feature flag as stale if the feature flag is stale in all/any of the environments. (optional)ignoredEnvironmentIds- Ignore environment identifiers from the report. (optional)ignoredTagIds- Ignore feature flags from the report based on their tag identifiers. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
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. -
-
-