All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailslurp.apis.ToolsControllerApi Maven / Gradle / Ivy

/*
 * MailSlurp API
 * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more.  ## Resources  - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
 *
 * The version of the OpenAPI document: 6.5.2
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.mailslurp.apis;

import com.mailslurp.clients.ApiCallback;
import com.mailslurp.clients.ApiClient;
import com.mailslurp.clients.ApiException;
import com.mailslurp.clients.ApiResponse;
import com.mailslurp.clients.Configuration;
import com.mailslurp.clients.Pair;
import com.mailslurp.clients.ProgressRequestBody;
import com.mailslurp.clients.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;


import com.mailslurp.models.CheckEmailFeaturesClientSupportOptions;
import com.mailslurp.models.CheckEmailFeaturesClientSupportResults;
import com.mailslurp.models.FakeEmailPreview;
import com.mailslurp.models.FakeEmailResult;
import com.mailslurp.models.GenerateBimiRecordOptions;
import com.mailslurp.models.GenerateBimiRecordResults;
import com.mailslurp.models.GenerateDmarcRecordOptions;
import com.mailslurp.models.GenerateDmarcRecordResults;
import com.mailslurp.models.GenerateMtaStsRecordOptions;
import com.mailslurp.models.GenerateMtaStsRecordResults;
import com.mailslurp.models.GenerateTlsReportingRecordOptions;
import com.mailslurp.models.GenerateTlsReportingRecordResults;
import com.mailslurp.models.LookupBimiDomainOptions;
import com.mailslurp.models.LookupBimiDomainResults;
import com.mailslurp.models.LookupDmarcDomainOptions;
import com.mailslurp.models.LookupDmarcDomainResults;
import com.mailslurp.models.LookupMtaStsDomainOptions;
import com.mailslurp.models.LookupMtaStsDomainResults;
import com.mailslurp.models.LookupTlsReportingDomainOptions;
import com.mailslurp.models.LookupTlsReportingDomainResults;
import com.mailslurp.models.NewFakeEmailAddressResult;
import java.util.UUID;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ToolsControllerApi {
    private ApiClient localVarApiClient;

    public ToolsControllerApi() {
        this(Configuration.getDefaultApiClient());
    }

    public ToolsControllerApi(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return localVarApiClient;
    }

    public void setApiClient(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    /**
     * Build call for checkEmailFeaturesClientSupport
     * @param checkEmailFeaturesClientSupportOptions  (required)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call checkEmailFeaturesClientSupportCall(CheckEmailFeaturesClientSupportOptions checkEmailFeaturesClientSupportOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = checkEmailFeaturesClientSupportOptions; // create path and map variables String localVarPath = "/tools/check-email-features-client-support"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call checkEmailFeaturesClientSupportValidateBeforeCall(CheckEmailFeaturesClientSupportOptions checkEmailFeaturesClientSupportOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'checkEmailFeaturesClientSupportOptions' is set if (checkEmailFeaturesClientSupportOptions == null) { throw new ApiException("Missing the required parameter 'checkEmailFeaturesClientSupportOptions' when calling checkEmailFeaturesClientSupport(Async)"); } okhttp3.Call localVarCall = checkEmailFeaturesClientSupportCall(checkEmailFeaturesClientSupportOptions, _callback); return localVarCall; } /** * Check email client support for email HTML and CSS features * * @param checkEmailFeaturesClientSupportOptions (required) * @return CheckEmailFeaturesClientSupportResults * @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 OK -
*/ public CheckEmailFeaturesClientSupportResults checkEmailFeaturesClientSupport(CheckEmailFeaturesClientSupportOptions checkEmailFeaturesClientSupportOptions) throws ApiException { ApiResponse localVarResp = checkEmailFeaturesClientSupportWithHttpInfo(checkEmailFeaturesClientSupportOptions); return localVarResp.getData(); } /** * Check email client support for email HTML and CSS features * * @param checkEmailFeaturesClientSupportOptions (required) * @return ApiResponse<CheckEmailFeaturesClientSupportResults> * @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 OK -
*/ public ApiResponse checkEmailFeaturesClientSupportWithHttpInfo(CheckEmailFeaturesClientSupportOptions checkEmailFeaturesClientSupportOptions) throws ApiException { okhttp3.Call localVarCall = checkEmailFeaturesClientSupportValidateBeforeCall(checkEmailFeaturesClientSupportOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Check email client support for email HTML and CSS features (asynchronously) * * @param checkEmailFeaturesClientSupportOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call checkEmailFeaturesClientSupportAsync(CheckEmailFeaturesClientSupportOptions checkEmailFeaturesClientSupportOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = checkEmailFeaturesClientSupportValidateBeforeCall(checkEmailFeaturesClientSupportOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for createNewFakeEmailAddress * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call createNewFakeEmailAddressCall(final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables String localVarPath = "/tools/fake-email"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call createNewFakeEmailAddressValidateBeforeCall(final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createNewFakeEmailAddressCall(_callback); return localVarCall; } /** * Create a new email address using the fake email domains * * @return NewFakeEmailAddressResult * @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 OK -
*/ public NewFakeEmailAddressResult createNewFakeEmailAddress() throws ApiException { ApiResponse localVarResp = createNewFakeEmailAddressWithHttpInfo(); return localVarResp.getData(); } /** * Create a new email address using the fake email domains * * @return ApiResponse<NewFakeEmailAddressResult> * @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 OK -
*/ public ApiResponse createNewFakeEmailAddressWithHttpInfo() throws ApiException { okhttp3.Call localVarCall = createNewFakeEmailAddressValidateBeforeCall(null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create a new email address using the fake email domains (asynchronously) * * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call createNewFakeEmailAddressAsync(final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createNewFakeEmailAddressValidateBeforeCall(_callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for generateBimiRecord * @param generateBimiRecordOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call generateBimiRecordCall(GenerateBimiRecordOptions generateBimiRecordOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = generateBimiRecordOptions; // create path and map variables String localVarPath = "/tools/generate-bimi-record"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call generateBimiRecordValidateBeforeCall(GenerateBimiRecordOptions generateBimiRecordOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'generateBimiRecordOptions' is set if (generateBimiRecordOptions == null) { throw new ApiException("Missing the required parameter 'generateBimiRecordOptions' when calling generateBimiRecord(Async)"); } okhttp3.Call localVarCall = generateBimiRecordCall(generateBimiRecordOptions, _callback); return localVarCall; } /** * Create a BIMI record policy * * @param generateBimiRecordOptions (required) * @return GenerateBimiRecordResults * @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 OK -
*/ public GenerateBimiRecordResults generateBimiRecord(GenerateBimiRecordOptions generateBimiRecordOptions) throws ApiException { ApiResponse localVarResp = generateBimiRecordWithHttpInfo(generateBimiRecordOptions); return localVarResp.getData(); } /** * Create a BIMI record policy * * @param generateBimiRecordOptions (required) * @return ApiResponse<GenerateBimiRecordResults> * @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 OK -
*/ public ApiResponse generateBimiRecordWithHttpInfo(GenerateBimiRecordOptions generateBimiRecordOptions) throws ApiException { okhttp3.Call localVarCall = generateBimiRecordValidateBeforeCall(generateBimiRecordOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create a BIMI record policy (asynchronously) * * @param generateBimiRecordOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call generateBimiRecordAsync(GenerateBimiRecordOptions generateBimiRecordOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = generateBimiRecordValidateBeforeCall(generateBimiRecordOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for generateDmarcRecord * @param generateDmarcRecordOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call generateDmarcRecordCall(GenerateDmarcRecordOptions generateDmarcRecordOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = generateDmarcRecordOptions; // create path and map variables String localVarPath = "/tools/generate-dmarc-record"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call generateDmarcRecordValidateBeforeCall(GenerateDmarcRecordOptions generateDmarcRecordOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'generateDmarcRecordOptions' is set if (generateDmarcRecordOptions == null) { throw new ApiException("Missing the required parameter 'generateDmarcRecordOptions' when calling generateDmarcRecord(Async)"); } okhttp3.Call localVarCall = generateDmarcRecordCall(generateDmarcRecordOptions, _callback); return localVarCall; } /** * Create a DMARC record policy * * @param generateDmarcRecordOptions (required) * @return GenerateDmarcRecordResults * @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 OK -
*/ public GenerateDmarcRecordResults generateDmarcRecord(GenerateDmarcRecordOptions generateDmarcRecordOptions) throws ApiException { ApiResponse localVarResp = generateDmarcRecordWithHttpInfo(generateDmarcRecordOptions); return localVarResp.getData(); } /** * Create a DMARC record policy * * @param generateDmarcRecordOptions (required) * @return ApiResponse<GenerateDmarcRecordResults> * @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 OK -
*/ public ApiResponse generateDmarcRecordWithHttpInfo(GenerateDmarcRecordOptions generateDmarcRecordOptions) throws ApiException { okhttp3.Call localVarCall = generateDmarcRecordValidateBeforeCall(generateDmarcRecordOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create a DMARC record policy (asynchronously) * * @param generateDmarcRecordOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call generateDmarcRecordAsync(GenerateDmarcRecordOptions generateDmarcRecordOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = generateDmarcRecordValidateBeforeCall(generateDmarcRecordOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for generateMtaStsRecord * @param generateMtaStsRecordOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call generateMtaStsRecordCall(GenerateMtaStsRecordOptions generateMtaStsRecordOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = generateMtaStsRecordOptions; // create path and map variables String localVarPath = "/tools/generate-mta-sts-record"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call generateMtaStsRecordValidateBeforeCall(GenerateMtaStsRecordOptions generateMtaStsRecordOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'generateMtaStsRecordOptions' is set if (generateMtaStsRecordOptions == null) { throw new ApiException("Missing the required parameter 'generateMtaStsRecordOptions' when calling generateMtaStsRecord(Async)"); } okhttp3.Call localVarCall = generateMtaStsRecordCall(generateMtaStsRecordOptions, _callback); return localVarCall; } /** * Create a TLS reporting record policy * * @param generateMtaStsRecordOptions (required) * @return GenerateMtaStsRecordResults * @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 OK -
*/ public GenerateMtaStsRecordResults generateMtaStsRecord(GenerateMtaStsRecordOptions generateMtaStsRecordOptions) throws ApiException { ApiResponse localVarResp = generateMtaStsRecordWithHttpInfo(generateMtaStsRecordOptions); return localVarResp.getData(); } /** * Create a TLS reporting record policy * * @param generateMtaStsRecordOptions (required) * @return ApiResponse<GenerateMtaStsRecordResults> * @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 OK -
*/ public ApiResponse generateMtaStsRecordWithHttpInfo(GenerateMtaStsRecordOptions generateMtaStsRecordOptions) throws ApiException { okhttp3.Call localVarCall = generateMtaStsRecordValidateBeforeCall(generateMtaStsRecordOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create a TLS reporting record policy (asynchronously) * * @param generateMtaStsRecordOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call generateMtaStsRecordAsync(GenerateMtaStsRecordOptions generateMtaStsRecordOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = generateMtaStsRecordValidateBeforeCall(generateMtaStsRecordOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for generateTlsReportingRecord * @param generateTlsReportingRecordOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call generateTlsReportingRecordCall(GenerateTlsReportingRecordOptions generateTlsReportingRecordOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = generateTlsReportingRecordOptions; // create path and map variables String localVarPath = "/tools/generate-tls-reporting-record"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call generateTlsReportingRecordValidateBeforeCall(GenerateTlsReportingRecordOptions generateTlsReportingRecordOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'generateTlsReportingRecordOptions' is set if (generateTlsReportingRecordOptions == null) { throw new ApiException("Missing the required parameter 'generateTlsReportingRecordOptions' when calling generateTlsReportingRecord(Async)"); } okhttp3.Call localVarCall = generateTlsReportingRecordCall(generateTlsReportingRecordOptions, _callback); return localVarCall; } /** * Create a TLS reporting record policy * * @param generateTlsReportingRecordOptions (required) * @return GenerateTlsReportingRecordResults * @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 OK -
*/ public GenerateTlsReportingRecordResults generateTlsReportingRecord(GenerateTlsReportingRecordOptions generateTlsReportingRecordOptions) throws ApiException { ApiResponse localVarResp = generateTlsReportingRecordWithHttpInfo(generateTlsReportingRecordOptions); return localVarResp.getData(); } /** * Create a TLS reporting record policy * * @param generateTlsReportingRecordOptions (required) * @return ApiResponse<GenerateTlsReportingRecordResults> * @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 OK -
*/ public ApiResponse generateTlsReportingRecordWithHttpInfo(GenerateTlsReportingRecordOptions generateTlsReportingRecordOptions) throws ApiException { okhttp3.Call localVarCall = generateTlsReportingRecordValidateBeforeCall(generateTlsReportingRecordOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create a TLS reporting record policy (asynchronously) * * @param generateTlsReportingRecordOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call generateTlsReportingRecordAsync(GenerateTlsReportingRecordOptions generateTlsReportingRecordOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = generateTlsReportingRecordValidateBeforeCall(generateTlsReportingRecordOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getFakeEmailById * @param id (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call getFakeEmailByIdCall(UUID id, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables String localVarPath = "/tools/fake-email"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (id != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); } Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call getFakeEmailByIdValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { // verify the required parameter 'id' is set if (id == null) { throw new ApiException("Missing the required parameter 'id' when calling getFakeEmailById(Async)"); } okhttp3.Call localVarCall = getFakeEmailByIdCall(id, _callback); return localVarCall; } /** * * * @param id (required) * @return FakeEmailResult * @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 OK -
*/ public FakeEmailResult getFakeEmailById(UUID id) throws ApiException { ApiResponse localVarResp = getFakeEmailByIdWithHttpInfo(id); return localVarResp.getData(); } /** * * * @param id (required) * @return ApiResponse<FakeEmailResult> * @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 OK -
*/ public ApiResponse getFakeEmailByIdWithHttpInfo(UUID id) throws ApiException { okhttp3.Call localVarCall = getFakeEmailByIdValidateBeforeCall(id, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * (asynchronously) * * @param id (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call getFakeEmailByIdAsync(UUID id, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getFakeEmailByIdValidateBeforeCall(id, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getFakeEmailsForAddress * @param emailAddress (required) * @param page (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call getFakeEmailsForAddressCall(String emailAddress, Integer page, final ApiCallback _callback) throws ApiException { Object localVarPostBody = null; // create path and map variables String localVarPath = "/tools/fake-emails"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (page != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); } if (emailAddress != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); } Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call getFakeEmailsForAddressValidateBeforeCall(String emailAddress, Integer page, final ApiCallback _callback) throws ApiException { // verify the required parameter 'emailAddress' is set if (emailAddress == null) { throw new ApiException("Missing the required parameter 'emailAddress' when calling getFakeEmailsForAddress(Async)"); } okhttp3.Call localVarCall = getFakeEmailsForAddressCall(emailAddress, page, _callback); return localVarCall; } /** * * * @param emailAddress (required) * @param page (optional) * @return List<FakeEmailPreview> * @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 OK -
*/ public List getFakeEmailsForAddress(String emailAddress, Integer page) throws ApiException { ApiResponse> localVarResp = getFakeEmailsForAddressWithHttpInfo(emailAddress, page); return localVarResp.getData(); } /** * * * @param emailAddress (required) * @param page (optional) * @return ApiResponse<List<FakeEmailPreview>> * @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 OK -
*/ public ApiResponse> getFakeEmailsForAddressWithHttpInfo(String emailAddress, Integer page) throws ApiException { okhttp3.Call localVarCall = getFakeEmailsForAddressValidateBeforeCall(emailAddress, page, null); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * (asynchronously) * * @param emailAddress (required) * @param page (optional) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call getFakeEmailsForAddressAsync(String emailAddress, Integer page, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = getFakeEmailsForAddressValidateBeforeCall(emailAddress, page, _callback); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for lookupBimiDomain * @param lookupBimiDomainOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call lookupBimiDomainCall(LookupBimiDomainOptions lookupBimiDomainOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = lookupBimiDomainOptions; // create path and map variables String localVarPath = "/tools/lookup-bimi-domain"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call lookupBimiDomainValidateBeforeCall(LookupBimiDomainOptions lookupBimiDomainOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'lookupBimiDomainOptions' is set if (lookupBimiDomainOptions == null) { throw new ApiException("Missing the required parameter 'lookupBimiDomainOptions' when calling lookupBimiDomain(Async)"); } okhttp3.Call localVarCall = lookupBimiDomainCall(lookupBimiDomainOptions, _callback); return localVarCall; } /** * Lookup a BIMI record policy * * @param lookupBimiDomainOptions (required) * @return LookupBimiDomainResults * @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 OK -
*/ public LookupBimiDomainResults lookupBimiDomain(LookupBimiDomainOptions lookupBimiDomainOptions) throws ApiException { ApiResponse localVarResp = lookupBimiDomainWithHttpInfo(lookupBimiDomainOptions); return localVarResp.getData(); } /** * Lookup a BIMI record policy * * @param lookupBimiDomainOptions (required) * @return ApiResponse<LookupBimiDomainResults> * @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 OK -
*/ public ApiResponse lookupBimiDomainWithHttpInfo(LookupBimiDomainOptions lookupBimiDomainOptions) throws ApiException { okhttp3.Call localVarCall = lookupBimiDomainValidateBeforeCall(lookupBimiDomainOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Lookup a BIMI record policy (asynchronously) * * @param lookupBimiDomainOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call lookupBimiDomainAsync(LookupBimiDomainOptions lookupBimiDomainOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = lookupBimiDomainValidateBeforeCall(lookupBimiDomainOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for lookupDmarcDomain * @param lookupDmarcDomainOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call lookupDmarcDomainCall(LookupDmarcDomainOptions lookupDmarcDomainOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = lookupDmarcDomainOptions; // create path and map variables String localVarPath = "/tools/lookup-dmarc-domain"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call lookupDmarcDomainValidateBeforeCall(LookupDmarcDomainOptions lookupDmarcDomainOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'lookupDmarcDomainOptions' is set if (lookupDmarcDomainOptions == null) { throw new ApiException("Missing the required parameter 'lookupDmarcDomainOptions' when calling lookupDmarcDomain(Async)"); } okhttp3.Call localVarCall = lookupDmarcDomainCall(lookupDmarcDomainOptions, _callback); return localVarCall; } /** * Lookup a DMARC record policy * * @param lookupDmarcDomainOptions (required) * @return LookupDmarcDomainResults * @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 OK -
*/ public LookupDmarcDomainResults lookupDmarcDomain(LookupDmarcDomainOptions lookupDmarcDomainOptions) throws ApiException { ApiResponse localVarResp = lookupDmarcDomainWithHttpInfo(lookupDmarcDomainOptions); return localVarResp.getData(); } /** * Lookup a DMARC record policy * * @param lookupDmarcDomainOptions (required) * @return ApiResponse<LookupDmarcDomainResults> * @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 OK -
*/ public ApiResponse lookupDmarcDomainWithHttpInfo(LookupDmarcDomainOptions lookupDmarcDomainOptions) throws ApiException { okhttp3.Call localVarCall = lookupDmarcDomainValidateBeforeCall(lookupDmarcDomainOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Lookup a DMARC record policy (asynchronously) * * @param lookupDmarcDomainOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call lookupDmarcDomainAsync(LookupDmarcDomainOptions lookupDmarcDomainOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = lookupDmarcDomainValidateBeforeCall(lookupDmarcDomainOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for lookupMtaStsDomain * @param lookupMtaStsDomainOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call lookupMtaStsDomainCall(LookupMtaStsDomainOptions lookupMtaStsDomainOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = lookupMtaStsDomainOptions; // create path and map variables String localVarPath = "/tools/lookup-mta-sts-domain"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call lookupMtaStsDomainValidateBeforeCall(LookupMtaStsDomainOptions lookupMtaStsDomainOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'lookupMtaStsDomainOptions' is set if (lookupMtaStsDomainOptions == null) { throw new ApiException("Missing the required parameter 'lookupMtaStsDomainOptions' when calling lookupMtaStsDomain(Async)"); } okhttp3.Call localVarCall = lookupMtaStsDomainCall(lookupMtaStsDomainOptions, _callback); return localVarCall; } /** * Lookup a MTA-STS domain policy * * @param lookupMtaStsDomainOptions (required) * @return LookupMtaStsDomainResults * @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 OK -
*/ public LookupMtaStsDomainResults lookupMtaStsDomain(LookupMtaStsDomainOptions lookupMtaStsDomainOptions) throws ApiException { ApiResponse localVarResp = lookupMtaStsDomainWithHttpInfo(lookupMtaStsDomainOptions); return localVarResp.getData(); } /** * Lookup a MTA-STS domain policy * * @param lookupMtaStsDomainOptions (required) * @return ApiResponse<LookupMtaStsDomainResults> * @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 OK -
*/ public ApiResponse lookupMtaStsDomainWithHttpInfo(LookupMtaStsDomainOptions lookupMtaStsDomainOptions) throws ApiException { okhttp3.Call localVarCall = lookupMtaStsDomainValidateBeforeCall(lookupMtaStsDomainOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Lookup a MTA-STS domain policy (asynchronously) * * @param lookupMtaStsDomainOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call lookupMtaStsDomainAsync(LookupMtaStsDomainOptions lookupMtaStsDomainOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = lookupMtaStsDomainValidateBeforeCall(lookupMtaStsDomainOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for lookupTlsReportingDomain * @param lookupTlsReportingDomainOptions (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 OK -
*/ public okhttp3.Call lookupTlsReportingDomainCall(LookupTlsReportingDomainOptions lookupTlsReportingDomainOptions, final ApiCallback _callback) throws ApiException { Object localVarPostBody = lookupTlsReportingDomainOptions; // create path and map variables String localVarPath = "/tools/lookup-tls-reporting-domain"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); String[] localVarAuthNames = new String[] { "API_KEY" }; return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") private okhttp3.Call lookupTlsReportingDomainValidateBeforeCall(LookupTlsReportingDomainOptions lookupTlsReportingDomainOptions, final ApiCallback _callback) throws ApiException { // verify the required parameter 'lookupTlsReportingDomainOptions' is set if (lookupTlsReportingDomainOptions == null) { throw new ApiException("Missing the required parameter 'lookupTlsReportingDomainOptions' when calling lookupTlsReportingDomain(Async)"); } okhttp3.Call localVarCall = lookupTlsReportingDomainCall(lookupTlsReportingDomainOptions, _callback); return localVarCall; } /** * Lookup a TLS reporting domain policy * * @param lookupTlsReportingDomainOptions (required) * @return LookupTlsReportingDomainResults * @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 OK -
*/ public LookupTlsReportingDomainResults lookupTlsReportingDomain(LookupTlsReportingDomainOptions lookupTlsReportingDomainOptions) throws ApiException { ApiResponse localVarResp = lookupTlsReportingDomainWithHttpInfo(lookupTlsReportingDomainOptions); return localVarResp.getData(); } /** * Lookup a TLS reporting domain policy * * @param lookupTlsReportingDomainOptions (required) * @return ApiResponse<LookupTlsReportingDomainResults> * @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 OK -
*/ public ApiResponse lookupTlsReportingDomainWithHttpInfo(LookupTlsReportingDomainOptions lookupTlsReportingDomainOptions) throws ApiException { okhttp3.Call localVarCall = lookupTlsReportingDomainValidateBeforeCall(lookupTlsReportingDomainOptions, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Lookup a TLS reporting domain policy (asynchronously) * * @param lookupTlsReportingDomainOptions (required) * @param _callback The callback to be executed when the API call finishes * @return 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 OK -
*/ public okhttp3.Call lookupTlsReportingDomainAsync(LookupTlsReportingDomainOptions lookupTlsReportingDomainOptions, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = lookupTlsReportingDomainValidateBeforeCall(lookupTlsReportingDomainOptions, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy