Class IpAllowlistBetaApi


  • public class IpAllowlistBetaApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Create 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 ApiException
        Build 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 ApiException
        Delete 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 ApiException
        Delete 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 ApiException
        Build 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 ApiException
        Update 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 ApiException
        Build 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 ApiException
        Update 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