Package com.launchdarkly.api.api
Class IpAllowlistBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.IpAllowlistBetaApi
-
public class IpAllowlistBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IpAllowlistBetaApi()IpAllowlistBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAllowlistEntryResponsecreateIpAllowlistEntry(CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest)Create IP Allowlist Entry Create a new IP allowlist entry.okhttp3.CallcreateIpAllowlistEntryAsync(CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest, ApiCallback<IpAllowlistEntryResponse> _callback)Create IP Allowlist Entry (asynchronously) Create a new IP allowlist entry.okhttp3.CallcreateIpAllowlistEntryCall(CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest, ApiCallback _callback)Build call for createIpAllowlistEntryApiResponse<IpAllowlistEntryResponse>createIpAllowlistEntryWithHttpInfo(CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest)Create IP Allowlist Entry Create a new IP allowlist entry.voiddeleteIpAllowlistEntry(java.lang.String id)Delete IP Allowlist Entry Delete an IP allowlist entry by id.okhttp3.CalldeleteIpAllowlistEntryAsync(java.lang.String id, ApiCallback<java.lang.Void> _callback)Delete IP Allowlist Entry (asynchronously) Delete an IP allowlist entry by id.okhttp3.CalldeleteIpAllowlistEntryCall(java.lang.String id, ApiCallback _callback)Build call for deleteIpAllowlistEntryApiResponse<java.lang.Void>deleteIpAllowlistEntryWithHttpInfo(java.lang.String id)Delete IP Allowlist Entry Delete an IP allowlist entry by id.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()IpAllowlistResponsegetIpAllowlist()Get IP Allowlist Get the current IP allowlist configuration and entries.okhttp3.CallgetIpAllowlistAsync(ApiCallback<IpAllowlistResponse> _callback)Get IP Allowlist (asynchronously) Get the current IP allowlist configuration and entries.okhttp3.CallgetIpAllowlistCall(ApiCallback _callback)Build call for getIpAllowlistApiResponse<IpAllowlistResponse>getIpAllowlistWithHttpInfo()Get IP Allowlist Get the current IP allowlist configuration and entries.IpAllowlistResponsepatchIpAllowlistConfig(PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest)Update IP Allowlist Configuration Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.okhttp3.CallpatchIpAllowlistConfigAsync(PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest, ApiCallback<IpAllowlistResponse> _callback)Update IP Allowlist Configuration (asynchronously) Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.okhttp3.CallpatchIpAllowlistConfigCall(PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest, ApiCallback _callback)Build call for patchIpAllowlistConfigApiResponse<IpAllowlistResponse>patchIpAllowlistConfigWithHttpInfo(PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest)Update IP Allowlist Configuration Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.IpAllowlistEntryResponsepatchIpAllowlistEntry(java.lang.String id, PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest)Update IP Allowlist Entry Description Update the description of an IP allowlist entry.okhttp3.CallpatchIpAllowlistEntryAsync(java.lang.String id, PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest, ApiCallback<IpAllowlistEntryResponse> _callback)Update IP Allowlist Entry Description (asynchronously) Update the description of an IP allowlist entry.okhttp3.CallpatchIpAllowlistEntryCall(java.lang.String id, PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest, ApiCallback _callback)Build call for patchIpAllowlistEntryApiResponse<IpAllowlistEntryResponse>patchIpAllowlistEntryWithHttpInfo(java.lang.String id, PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest)Update IP Allowlist Entry Description Update the description of an IP allowlist entry.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
IpAllowlistBetaApi
public IpAllowlistBetaApi()
-
IpAllowlistBetaApi
public IpAllowlistBetaApi(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)
-
createIpAllowlistEntryCall
public okhttp3.Call createIpAllowlistEntryCall(@Nonnull CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest, ApiCallback _callback) throws ApiExceptionBuild call for createIpAllowlistEntry- Parameters:
createIpAllowlistEntryRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createIpAllowlistEntry
public IpAllowlistEntryResponse createIpAllowlistEntry(@Nonnull CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest) throws ApiException
Create IP Allowlist Entry Create a new IP allowlist entry.- Parameters:
createIpAllowlistEntryRequest- (required)- Returns:
- IpAllowlistEntryResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createIpAllowlistEntryWithHttpInfo
public ApiResponse<IpAllowlistEntryResponse> createIpAllowlistEntryWithHttpInfo(@Nonnull CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest) throws ApiException
Create IP Allowlist Entry Create a new IP allowlist entry.- Parameters:
createIpAllowlistEntryRequest- (required)- Returns:
- ApiResponse<IpAllowlistEntryResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createIpAllowlistEntryAsync
public okhttp3.Call createIpAllowlistEntryAsync(@Nonnull CreateIpAllowlistEntryRequest createIpAllowlistEntryRequest, ApiCallback<IpAllowlistEntryResponse> _callback) throws ApiExceptionCreate IP Allowlist Entry (asynchronously) Create a new IP allowlist entry.- Parameters:
createIpAllowlistEntryRequest- (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
-
deleteIpAllowlistEntryCall
public okhttp3.Call deleteIpAllowlistEntryCall(@Nonnull java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for deleteIpAllowlistEntry- Parameters:
id- Unique identifier for the allowlist entry (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteIpAllowlistEntry
public void deleteIpAllowlistEntry(@Nonnull java.lang.String id) throws ApiExceptionDelete IP Allowlist Entry Delete an IP allowlist entry by id.- Parameters:
id- Unique identifier for the allowlist entry (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteIpAllowlistEntryWithHttpInfo
public ApiResponse<java.lang.Void> deleteIpAllowlistEntryWithHttpInfo(@Nonnull java.lang.String id) throws ApiException
Delete IP Allowlist Entry Delete an IP allowlist entry by id.- Parameters:
id- Unique identifier for the allowlist entry (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteIpAllowlistEntryAsync
public okhttp3.Call deleteIpAllowlistEntryAsync(@Nonnull java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete IP Allowlist Entry (asynchronously) Delete an IP allowlist entry by id.- Parameters:
id- Unique identifier for the allowlist entry (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
-
getIpAllowlistCall
public okhttp3.Call getIpAllowlistCall(ApiCallback _callback) throws ApiException
Build call for getIpAllowlist- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getIpAllowlist
public IpAllowlistResponse getIpAllowlist() throws ApiException
Get IP Allowlist Get the current IP allowlist configuration and entries.- Returns:
- IpAllowlistResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getIpAllowlistWithHttpInfo
public ApiResponse<IpAllowlistResponse> getIpAllowlistWithHttpInfo() throws ApiException
Get IP Allowlist Get the current IP allowlist configuration and entries.- Returns:
- ApiResponse<IpAllowlistResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getIpAllowlistAsync
public okhttp3.Call getIpAllowlistAsync(ApiCallback<IpAllowlistResponse> _callback) throws ApiException
Get IP Allowlist (asynchronously) Get the current IP allowlist configuration and entries.- Parameters:
_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
-
patchIpAllowlistConfigCall
public okhttp3.Call patchIpAllowlistConfigCall(@Nonnull PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest, ApiCallback _callback) throws ApiExceptionBuild call for patchIpAllowlistConfig- Parameters:
patchIpAllowlistConfigRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchIpAllowlistConfig
public IpAllowlistResponse patchIpAllowlistConfig(@Nonnull PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest) throws ApiException
Update IP Allowlist Configuration Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.- Parameters:
patchIpAllowlistConfigRequest- (required)- Returns:
- IpAllowlistResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchIpAllowlistConfigWithHttpInfo
public ApiResponse<IpAllowlistResponse> patchIpAllowlistConfigWithHttpInfo(@Nonnull PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest) throws ApiException
Update IP Allowlist Configuration Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.- Parameters:
patchIpAllowlistConfigRequest- (required)- Returns:
- ApiResponse<IpAllowlistResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchIpAllowlistConfigAsync
public okhttp3.Call patchIpAllowlistConfigAsync(@Nonnull PatchIpAllowlistConfigRequest patchIpAllowlistConfigRequest, ApiCallback<IpAllowlistResponse> _callback) throws ApiExceptionUpdate IP Allowlist Configuration (asynchronously) Update sessionAllowlistEnabled and apiTokenAllowlistEnabled settings.- Parameters:
patchIpAllowlistConfigRequest- (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
-
patchIpAllowlistEntryCall
public okhttp3.Call patchIpAllowlistEntryCall(@Nonnull java.lang.String id, @Nonnull PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest, ApiCallback _callback) throws ApiExceptionBuild call for patchIpAllowlistEntry- Parameters:
id- Unique identifier for the allowlist entry (required)patchIpAllowlistEntryRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchIpAllowlistEntry
public IpAllowlistEntryResponse patchIpAllowlistEntry(@Nonnull java.lang.String id, @Nonnull PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest) throws ApiException
Update IP Allowlist Entry Description Update the description of an IP allowlist entry.- Parameters:
id- Unique identifier for the allowlist entry (required)patchIpAllowlistEntryRequest- (required)- Returns:
- IpAllowlistEntryResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchIpAllowlistEntryWithHttpInfo
public ApiResponse<IpAllowlistEntryResponse> patchIpAllowlistEntryWithHttpInfo(@Nonnull java.lang.String id, @Nonnull PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest) throws ApiException
Update IP Allowlist Entry Description Update the description of an IP allowlist entry.- Parameters:
id- Unique identifier for the allowlist entry (required)patchIpAllowlistEntryRequest- (required)- Returns:
- ApiResponse<IpAllowlistEntryResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchIpAllowlistEntryAsync
public okhttp3.Call patchIpAllowlistEntryAsync(@Nonnull java.lang.String id, @Nonnull PatchIpAllowlistEntryRequest patchIpAllowlistEntryRequest, ApiCallback<IpAllowlistEntryResponse> _callback) throws ApiExceptionUpdate IP Allowlist Entry Description (asynchronously) Update the description of an IP allowlist entry.- Parameters:
id- Unique identifier for the allowlist entry (required)patchIpAllowlistEntryRequest- (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
-
-