Package com.launchdarkly.api.api
Class UserSettingsApi
- java.lang.Object
-
- com.launchdarkly.api.api.UserSettingsApi
-
public class UserSettingsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UserSettingsApi()
UserSettingsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiClient
getApiClient()
java.lang.String
getCustomBaseUrl()
ExpiringUserTargetGetResponse
getExpiringFlagsForUser(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey)
Deprecated.okhttp3.Call
getExpiringFlagsForUserAsync(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, ApiCallback<ExpiringUserTargetGetResponse> _callback)
Deprecated.okhttp3.Call
getExpiringFlagsForUserCall(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, ApiCallback _callback)
Deprecated.ApiResponse<ExpiringUserTargetGetResponse>
getExpiringFlagsForUserWithHttpInfo(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey)
Deprecated.int
getHostIndex()
UserFlagSetting
getUserFlagSetting(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey)
Deprecated.okhttp3.Call
getUserFlagSettingAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ApiCallback<UserFlagSetting> _callback)
Deprecated.okhttp3.Call
getUserFlagSettingCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ApiCallback _callback)
Deprecated.UserFlagSettings
getUserFlagSettings(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey)
Deprecated.okhttp3.Call
getUserFlagSettingsAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, ApiCallback<UserFlagSettings> _callback)
Deprecated.okhttp3.Call
getUserFlagSettingsCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, ApiCallback _callback)
Deprecated.ApiResponse<UserFlagSettings>
getUserFlagSettingsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey)
Deprecated.ApiResponse<UserFlagSetting>
getUserFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey)
Deprecated.ExpiringUserTargetPatchResponse
patchExpiringFlagsForUser(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest)
Deprecated.okhttp3.Call
patchExpiringFlagsForUserAsync(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest, ApiCallback<ExpiringUserTargetPatchResponse> _callback)
Deprecated.okhttp3.Call
patchExpiringFlagsForUserCall(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest, ApiCallback _callback)
Deprecated.ApiResponse<ExpiringUserTargetPatchResponse>
patchExpiringFlagsForUserWithHttpInfo(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest)
Deprecated.void
putFlagSetting(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut)
Deprecated.okhttp3.Call
putFlagSettingAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut, ApiCallback<java.lang.Void> _callback)
Deprecated.okhttp3.Call
putFlagSettingCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut, ApiCallback _callback)
Deprecated.ApiResponse<java.lang.Void>
putFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut)
Deprecated.void
setApiClient(ApiClient apiClient)
void
setCustomBaseUrl(java.lang.String customBaseUrl)
void
setHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
UserSettingsApi
public UserSettingsApi()
-
UserSettingsApi
public UserSettingsApi(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)
-
getExpiringFlagsForUserCall
@Deprecated public okhttp3.Call getExpiringFlagsForUserCall(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, ApiCallback _callback) throws ApiException
Deprecated.Build call for getExpiringFlagsForUser- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getExpiringFlagsForUser
@Deprecated public ExpiringUserTargetGetResponse getExpiringFlagsForUser(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey) throws ApiException
Deprecated.Get expiring dates on flags for user Get a list of flags for which the given user is scheduled for removal.- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)- Returns:
- ExpiringUserTargetGetResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getExpiringFlagsForUserWithHttpInfo
@Deprecated public ApiResponse<ExpiringUserTargetGetResponse> getExpiringFlagsForUserWithHttpInfo(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey) throws ApiException
Deprecated.Get expiring dates on flags for user Get a list of flags for which the given user is scheduled for removal.- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)- Returns:
- ApiResponse<ExpiringUserTargetGetResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getExpiringFlagsForUserAsync
@Deprecated public okhttp3.Call getExpiringFlagsForUserAsync(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, ApiCallback<ExpiringUserTargetGetResponse> _callback) throws ApiException
Deprecated.Get expiring dates on flags for user (asynchronously) Get a list of flags for which the given user is scheduled for removal.- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment 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
-
getUserFlagSettingCall
@Deprecated public okhttp3.Call getUserFlagSettingCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ApiCallback _callback) throws ApiException
Deprecated.Build call for getUserFlagSetting- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUserFlagSetting
@Deprecated public UserFlagSetting getUserFlagSetting(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey) throws ApiException
Deprecated.Get flag setting for user Get a single flag setting for a user by flag key. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)- Returns:
- UserFlagSetting
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserFlagSettingWithHttpInfo
@Deprecated public ApiResponse<UserFlagSetting> getUserFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey) throws ApiException
Deprecated.Get flag setting for user Get a single flag setting for a user by flag key. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)- Returns:
- ApiResponse<UserFlagSetting>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserFlagSettingAsync
@Deprecated public okhttp3.Call getUserFlagSettingAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ApiCallback<UserFlagSetting> _callback) throws ApiException
Deprecated.Get flag setting for user (asynchronously) Get a single flag setting for a user by flag key. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag 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
-
getUserFlagSettingsCall
@Deprecated public okhttp3.Call getUserFlagSettingsCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, ApiCallback _callback) throws ApiException
Deprecated.Build call for getUserFlagSettings- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUserFlagSettings
@Deprecated public UserFlagSettings getUserFlagSettings(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) throws ApiException
Deprecated.List flag settings for user Get the current flag settings for a given user. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled and the `alternate.page` flag disabled, and that the user has not been explicitly targeted to receive a particular variation.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)- Returns:
- UserFlagSettings
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserFlagSettingsWithHttpInfo
@Deprecated public ApiResponse<UserFlagSettings> getUserFlagSettingsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) throws ApiException
Deprecated.List flag settings for user Get the current flag settings for a given user. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled and the `alternate.page` flag disabled, and that the user has not been explicitly targeted to receive a particular variation.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)- Returns:
- ApiResponse<UserFlagSettings>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserFlagSettingsAsync
@Deprecated public okhttp3.Call getUserFlagSettingsAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, ApiCallback<UserFlagSettings> _callback) throws ApiException
Deprecated.List flag settings for user (asynchronously) Get the current flag settings for a given user. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled and the `alternate.page` flag disabled, and that the user has not been explicitly targeted to receive a particular variation.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user 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
-
patchExpiringFlagsForUserCall
@Deprecated public okhttp3.Call patchExpiringFlagsForUserCall(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest, ApiCallback _callback) throws ApiException
Deprecated.Build call for patchExpiringFlagsForUser- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)patchUsersRequest
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
patchExpiringFlagsForUser
@Deprecated public ExpiringUserTargetPatchResponse patchExpiringFlagsForUser(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest) throws ApiException
Deprecated.Update expiring user target for flags Schedule the specified user for removal from individual targeting on one or more flags. The user must already be individually targeted for each flag. You can add, update, or remove a scheduled removal date. You can only schedule a user for removal on a single variation per flag. Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following `kind` instructions for updating expiring user targets. <details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary> #### addExpireUserTargetDate Adds a date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. #### updateExpireUserTargetDate Updates the date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. * `version`: The version of the expiring user target to update. If included, update will fail if version doesn't match current version of the expiring user target. #### removeExpireUserTargetDate Removes the scheduled removal of the user from the flag's individual targeting. The user will remain part of the flag's individual targeting until explicitly removed, or until another removal is scheduled. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag </details>- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)patchUsersRequest
- (required)- Returns:
- ExpiringUserTargetPatchResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchExpiringFlagsForUserWithHttpInfo
@Deprecated public ApiResponse<ExpiringUserTargetPatchResponse> patchExpiringFlagsForUserWithHttpInfo(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest) throws ApiException
Deprecated.Update expiring user target for flags Schedule the specified user for removal from individual targeting on one or more flags. The user must already be individually targeted for each flag. You can add, update, or remove a scheduled removal date. You can only schedule a user for removal on a single variation per flag. Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following `kind` instructions for updating expiring user targets. <details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary> #### addExpireUserTargetDate Adds a date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. #### updateExpireUserTargetDate Updates the date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. * `version`: The version of the expiring user target to update. If included, update will fail if version doesn't match current version of the expiring user target. #### removeExpireUserTargetDate Removes the scheduled removal of the user from the flag's individual targeting. The user will remain part of the flag's individual targeting until explicitly removed, or until another removal is scheduled. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag </details>- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)patchUsersRequest
- (required)- Returns:
- ApiResponse<ExpiringUserTargetPatchResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchExpiringFlagsForUserAsync
@Deprecated public okhttp3.Call patchExpiringFlagsForUserAsync(java.lang.String projectKey, java.lang.String userKey, java.lang.String environmentKey, PatchUsersRequest patchUsersRequest, ApiCallback<ExpiringUserTargetPatchResponse> _callback) throws ApiException
Deprecated.Update expiring user target for flags (asynchronously) Schedule the specified user for removal from individual targeting on one or more flags. The user must already be individually targeted for each flag. You can add, update, or remove a scheduled removal date. You can only schedule a user for removal on a single variation per flag. Updating an expiring target uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following `kind` instructions for updating expiring user targets. <details> <summary>Click to expand instructions for <strong>updating expiring user targets</strong></summary> #### addExpireUserTargetDate Adds a date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. #### updateExpireUserTargetDate Updates the date and time that LaunchDarkly will remove the user from the flag's individual targeting. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag * `value`: The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. * `version`: The version of the expiring user target to update. If included, update will fail if version doesn't match current version of the expiring user target. #### removeExpireUserTargetDate Removes the scheduled removal of the user from the flag's individual targeting. The user will remain part of the flag's individual targeting until explicitly removed, or until another removal is scheduled. ##### Parameters * `flagKey`: The flag key * `variationId`: ID of a variation on the flag </details>- Parameters:
projectKey
- The project key (required)userKey
- The user key (required)environmentKey
- The environment key (required)patchUsersRequest
- (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
-
putFlagSettingCall
@Deprecated public okhttp3.Call putFlagSettingCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut, ApiCallback _callback) throws ApiException
Deprecated.Build call for putFlagSetting- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)valuePut
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
putFlagSetting
@Deprecated public void putFlagSetting(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut) throws ApiException
Deprecated.Update flag settings for user Enable or disable a feature flag for a user based on their key. Omitting the `setting` attribute from the request body, or including a `setting` of `null`, erases the current setting for a user. If you previously patched the flag, and the patch included the user's data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the user's key before, it calculates the flag values based on the user key alone.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)valuePut
- (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putFlagSettingWithHttpInfo
@Deprecated public ApiResponse<java.lang.Void> putFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut) throws ApiException
Deprecated.Update flag settings for user Enable or disable a feature flag for a user based on their key. Omitting the `setting` attribute from the request body, or including a `setting` of `null`, erases the current setting for a user. If you previously patched the flag, and the patch included the user's data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the user's key before, it calculates the flag values based on the user key alone.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)valuePut
- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putFlagSettingAsync
@Deprecated public okhttp3.Call putFlagSettingAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, ValuePut valuePut, ApiCallback<java.lang.Void> _callback) throws ApiException
Deprecated.Update flag settings for user (asynchronously) Enable or disable a feature flag for a user based on their key. Omitting the `setting` attribute from the request body, or including a `setting` of `null`, erases the current setting for a user. If you previously patched the flag, and the patch included the user's data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the user's key before, it calculates the flag values based on the user key alone.- Parameters:
projectKey
- The project key (required)environmentKey
- The environment key (required)userKey
- The user key (required)featureFlagKey
- The feature flag key (required)valuePut
- (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
-
-