Package com.launchdarkly.api.api
Class InsightsScoresBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.InsightsScoresBetaApi
-
public class InsightsScoresBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InsightsScoresBetaApi()InsightsScoresBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightGroupcreateInsightGroup(PostInsightGroupParams postInsightGroupParams)Create insight group Create insight groupokhttp3.CallcreateInsightGroupAsync(PostInsightGroupParams postInsightGroupParams, ApiCallback<InsightGroup> _callback)Create insight group (asynchronously) Create insight groupokhttp3.CallcreateInsightGroupCall(PostInsightGroupParams postInsightGroupParams, ApiCallback _callback)Build call for createInsightGroupApiResponse<InsightGroup>createInsightGroupWithHttpInfo(PostInsightGroupParams postInsightGroupParams)Create insight group Create insight groupvoiddeleteInsightGroup(java.lang.String insightGroupKey)Delete insight group Delete insight groupokhttp3.CalldeleteInsightGroupAsync(java.lang.String insightGroupKey, ApiCallback<java.lang.Void> _callback)Delete insight group (asynchronously) Delete insight groupokhttp3.CalldeleteInsightGroupCall(java.lang.String insightGroupKey, ApiCallback _callback)Build call for deleteInsightGroupApiResponse<java.lang.Void>deleteInsightGroupWithHttpInfo(java.lang.String insightGroupKey)Delete insight group Delete insight groupApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()InsightGroupgetInsightGroup(java.lang.String insightGroupKey, java.lang.String expand)Get insight group Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields.okhttp3.CallgetInsightGroupAsync(java.lang.String insightGroupKey, java.lang.String expand, ApiCallback<InsightGroup> _callback)Get insight group (asynchronously) Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields.okhttp3.CallgetInsightGroupCall(java.lang.String insightGroupKey, java.lang.String expand, ApiCallback _callback)Build call for getInsightGroupInsightGroupCollectiongetInsightGroups(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand)List insight groups List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields.okhttp3.CallgetInsightGroupsAsync(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand, ApiCallback<InsightGroupCollection> _callback)List insight groups (asynchronously) List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields.okhttp3.CallgetInsightGroupsCall(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand, ApiCallback _callback)Build call for getInsightGroupsApiResponse<InsightGroupCollection>getInsightGroupsWithHttpInfo(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand)List insight groups List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields.ApiResponse<InsightGroup>getInsightGroupWithHttpInfo(java.lang.String insightGroupKey, java.lang.String expand)Get insight group Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields.InsightScoresgetInsightsScores(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey)Get insight scores Return insights scores, based on the given parameters.okhttp3.CallgetInsightsScoresAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey, ApiCallback<InsightScores> _callback)Get insight scores (asynchronously) Return insights scores, based on the given parameters.okhttp3.CallgetInsightsScoresCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey, ApiCallback _callback)Build call for getInsightsScoresApiResponse<InsightScores>getInsightsScoresWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey)Get insight scores Return insights scores, based on the given parameters.InsightGrouppatchInsightGroup(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation)Patch insight group Update an insight group.okhttp3.CallpatchInsightGroupAsync(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation, ApiCallback<InsightGroup> _callback)Patch insight group (asynchronously) Update an insight group.okhttp3.CallpatchInsightGroupCall(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchInsightGroupApiResponse<InsightGroup>patchInsightGroupWithHttpInfo(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation)Patch insight group Update an insight group.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
InsightsScoresBetaApi
public InsightsScoresBetaApi()
-
InsightsScoresBetaApi
public InsightsScoresBetaApi(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)
-
createInsightGroupCall
public okhttp3.Call createInsightGroupCall(PostInsightGroupParams postInsightGroupParams, ApiCallback _callback) throws ApiException
Build call for createInsightGroup- Parameters:
postInsightGroupParams- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createInsightGroup
public InsightGroup createInsightGroup(PostInsightGroupParams postInsightGroupParams) throws ApiException
Create insight group Create insight group- Parameters:
postInsightGroupParams- (required)- Returns:
- InsightGroup
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createInsightGroupWithHttpInfo
public ApiResponse<InsightGroup> createInsightGroupWithHttpInfo(PostInsightGroupParams postInsightGroupParams) throws ApiException
Create insight group Create insight group- Parameters:
postInsightGroupParams- (required)- Returns:
- ApiResponse<InsightGroup>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createInsightGroupAsync
public okhttp3.Call createInsightGroupAsync(PostInsightGroupParams postInsightGroupParams, ApiCallback<InsightGroup> _callback) throws ApiException
Create insight group (asynchronously) Create insight group- Parameters:
postInsightGroupParams- (required)_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
-
deleteInsightGroupCall
public okhttp3.Call deleteInsightGroupCall(java.lang.String insightGroupKey, ApiCallback _callback) throws ApiExceptionBuild call for deleteInsightGroup- Parameters:
insightGroupKey- The insight group key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteInsightGroup
public void deleteInsightGroup(java.lang.String insightGroupKey) throws ApiExceptionDelete insight group Delete insight group- Parameters:
insightGroupKey- The insight group key (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteInsightGroupWithHttpInfo
public ApiResponse<java.lang.Void> deleteInsightGroupWithHttpInfo(java.lang.String insightGroupKey) throws ApiException
Delete insight group Delete insight group- Parameters:
insightGroupKey- The insight group key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteInsightGroupAsync
public okhttp3.Call deleteInsightGroupAsync(java.lang.String insightGroupKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete insight group (asynchronously) Delete insight group- Parameters:
insightGroupKey- The insight group key (required)_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
-
getInsightGroupCall
public okhttp3.Call getInsightGroupCall(java.lang.String insightGroupKey, java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild call for getInsightGroup- Parameters:
insightGroupKey- The insight group key (required)expand- Options: `scores`, `environment` (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getInsightGroup
public InsightGroup getInsightGroup(java.lang.String insightGroupKey, java.lang.String expand) throws ApiException
Get insight group Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for this group * `environment` includes details on each environment associated with this group For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
insightGroupKey- The insight group key (required)expand- Options: `scores`, `environment` (optional)- Returns:
- InsightGroup
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightGroupWithHttpInfo
public ApiResponse<InsightGroup> getInsightGroupWithHttpInfo(java.lang.String insightGroupKey, java.lang.String expand) throws ApiException
Get insight group Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for this group * `environment` includes details on each environment associated with this group For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
insightGroupKey- The insight group key (required)expand- Options: `scores`, `environment` (optional)- Returns:
- ApiResponse<InsightGroup>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightGroupAsync
public okhttp3.Call getInsightGroupAsync(java.lang.String insightGroupKey, java.lang.String expand, ApiCallback<InsightGroup> _callback) throws ApiExceptionGet insight group (asynchronously) Get insight group ### Expanding the insight group response LaunchDarkly supports expanding the insight group response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for this group * `environment` includes details on each environment associated with this group For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
insightGroupKey- The insight group key (required)expand- Options: `scores`, `environment` (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
-
getInsightGroupsCall
public okhttp3.Call getInsightGroupsCall(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild call for getInsightGroups- Parameters:
limit- The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive. (optional)offset- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)sort- Sort flag list by field. Prefix field with <code>-</code> to sort in descending order. Allowed fields: name (optional)query- Filter list of insights groups by name. (optional)expand- Options: `scores`, `environment`, `metadata` (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getInsightGroups
public InsightGroupCollection getInsightGroups(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand) throws ApiException
List insight groups List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for each group * `environment` includes details on each environment associated with each group * `metadata` includes counts of the number of insight groups with particular indicators, such as \"execellent,\" \"good,\" \"fair,\" and so on. For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
limit- The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive. (optional)offset- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)sort- Sort flag list by field. Prefix field with <code>-</code> to sort in descending order. Allowed fields: name (optional)query- Filter list of insights groups by name. (optional)expand- Options: `scores`, `environment`, `metadata` (optional)- Returns:
- InsightGroupCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightGroupsWithHttpInfo
public ApiResponse<InsightGroupCollection> getInsightGroupsWithHttpInfo(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand) throws ApiException
List insight groups List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for each group * `environment` includes details on each environment associated with each group * `metadata` includes counts of the number of insight groups with particular indicators, such as \"execellent,\" \"good,\" \"fair,\" and so on. For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
limit- The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive. (optional)offset- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)sort- Sort flag list by field. Prefix field with <code>-</code> to sort in descending order. Allowed fields: name (optional)query- Filter list of insights groups by name. (optional)expand- Options: `scores`, `environment`, `metadata` (optional)- Returns:
- ApiResponse<InsightGroupCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightGroupsAsync
public okhttp3.Call getInsightGroupsAsync(java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String query, java.lang.String expand, ApiCallback<InsightGroupCollection> _callback) throws ApiExceptionList insight groups (asynchronously) List groups for which you are collecting insights ### Expanding the insight groups collection response LaunchDarkly supports expanding the insight groups collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `scores` includes details on all of the scores used in the engineering insights metrics views for each group * `environment` includes details on each environment associated with each group * `metadata` includes counts of the number of insight groups with particular indicators, such as \"execellent,\" \"good,\" \"fair,\" and so on. For example, use `?expand=scores` to include the `scores` field in the response. By default, this field is **not** included in the response.- Parameters:
limit- The number of insight groups to return. Default is 20. Must be between 1 and 20 inclusive. (optional)offset- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)sort- Sort flag list by field. Prefix field with <code>-</code> to sort in descending order. Allowed fields: name (optional)query- Filter list of insights groups by name. (optional)expand- Options: `scores`, `environment`, `metadata` (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
-
getInsightsScoresCall
public okhttp3.Call getInsightsScoresCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey, ApiCallback _callback) throws ApiExceptionBuild call for getInsightsScores- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)applicationKey- Comma separated list of application keys (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getInsightsScores
public InsightScores getInsightsScores(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey) throws ApiException
Get insight scores Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)applicationKey- Comma separated list of application keys (optional)- Returns:
- InsightScores
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightsScoresWithHttpInfo
public ApiResponse<InsightScores> getInsightsScoresWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey) throws ApiException
Get insight scores Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)applicationKey- Comma separated list of application keys (optional)- Returns:
- ApiResponse<InsightScores>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightsScoresAsync
public okhttp3.Call getInsightsScoresAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String applicationKey, ApiCallback<InsightScores> _callback) throws ApiExceptionGet insight scores (asynchronously) Return insights scores, based on the given parameters. This data is also used in engineering insights metrics views.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)applicationKey- Comma separated list of application keys (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
-
patchInsightGroupCall
public okhttp3.Call patchInsightGroupCall(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for patchInsightGroup- Parameters:
insightGroupKey- The insight group key (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchInsightGroup
public InsightGroup patchInsightGroup(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation) throws ApiException
Patch insight group Update an insight group. Updating an insight group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
insightGroupKey- The insight group key (required)patchOperation- (required)- Returns:
- InsightGroup
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchInsightGroupWithHttpInfo
public ApiResponse<InsightGroup> patchInsightGroupWithHttpInfo(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation) throws ApiException
Patch insight group Update an insight group. Updating an insight group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
insightGroupKey- The insight group key (required)patchOperation- (required)- Returns:
- ApiResponse<InsightGroup>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchInsightGroupAsync
public okhttp3.Call patchInsightGroupAsync(java.lang.String insightGroupKey, java.util.List<PatchOperation> patchOperation, ApiCallback<InsightGroup> _callback) throws ApiExceptionPatch insight group (asynchronously) Update an insight group. Updating an insight group uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).- Parameters:
insightGroupKey- The insight group key (required)patchOperation- (required)_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
-
-