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

com.mypurecloud.sdk.api.AlertingApi Maven / Gradle / Ivy

The newest version!
package com.mypurecloud.sdk.api;

import com.fasterxml.jackson.core.type.TypeReference;

import com.mypurecloud.sdk.ApiException;
import com.mypurecloud.sdk.ApiClient;
import com.mypurecloud.sdk.ApiResponse;
import com.mypurecloud.sdk.Configuration;
import com.mypurecloud.sdk.model.*;
import com.mypurecloud.sdk.Pair;

import com.mypurecloud.sdk.model.ErrorBody;
import com.mypurecloud.sdk.model.HeartBeatAlertContainer;
import com.mypurecloud.sdk.model.HeartBeatAlert;
import com.mypurecloud.sdk.model.HeartBeatRuleContainer;
import com.mypurecloud.sdk.model.HeartBeatRule;
import com.mypurecloud.sdk.model.InteractionStatsAlertContainer;
import com.mypurecloud.sdk.model.InteractionStatsAlert;
import com.mypurecloud.sdk.model.UnreadMetric;
import com.mypurecloud.sdk.model.InteractionStatsRuleContainer;
import com.mypurecloud.sdk.model.InteractionStatsRule;
import com.mypurecloud.sdk.model.RoutingStatusAlertContainer;
import com.mypurecloud.sdk.model.RoutingStatusAlert;
import com.mypurecloud.sdk.model.RoutingStatusRuleContainer;
import com.mypurecloud.sdk.model.RoutingStatusRule;
import com.mypurecloud.sdk.model.UserPresenceAlertContainer;
import com.mypurecloud.sdk.model.UserPresenceAlert;
import com.mypurecloud.sdk.model.UserPresenceRuleContainer;
import com.mypurecloud.sdk.model.UserPresenceRule;
import com.mypurecloud.sdk.model.UnreadStatus;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class AlertingApi {
  private ApiClient pcapiClient;

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

  public AlertingApi(ApiClient apiClient) {
    this.pcapiClient = apiClient;
  }

  public ApiClient getApiClient() {
    return pcapiClient;
  }

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

  /**
   * Delete a heart beat alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteHeartbeatAlertsAlertId(String alertId) throws ApiException {
    deleteHeartbeatAlertsAlertIdWithHttpInfo(alertId);
  }

  /**
   * Delete a heart beat alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteHeartbeatAlertsAlertIdWithHttpInfo(String alertId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling deleteHeartbeatAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete a heart beat rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteHeartbeatRulesRuleId(String ruleId) throws ApiException {
    deleteHeartbeatRulesRuleIdWithHttpInfo(ruleId);
  }

  /**
   * Delete a heart beat rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteHeartbeatRulesRuleIdWithHttpInfo(String ruleId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling deleteHeartbeatRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete an interaction stats alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteInteractionstatsAlertsAlertId(String alertId) throws ApiException {
    deleteInteractionstatsAlertsAlertIdWithHttpInfo(alertId);
  }

  /**
   * Delete an interaction stats alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteInteractionstatsAlertsAlertIdWithHttpInfo(String alertId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling deleteInteractionstatsAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete an interaction stats rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteInteractionstatsRulesRuleId(String ruleId) throws ApiException {
    deleteInteractionstatsRulesRuleIdWithHttpInfo(ruleId);
  }

  /**
   * Delete an interaction stats rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteInteractionstatsRulesRuleIdWithHttpInfo(String ruleId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling deleteInteractionstatsRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete a routing status alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteRoutingstatusAlertsAlertId(String alertId) throws ApiException {
    deleteRoutingstatusAlertsAlertIdWithHttpInfo(alertId);
  }

  /**
   * Delete a routing status alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteRoutingstatusAlertsAlertIdWithHttpInfo(String alertId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling deleteRoutingstatusAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete a routing status rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteRoutingstatusRulesRuleId(String ruleId) throws ApiException {
    deleteRoutingstatusRulesRuleIdWithHttpInfo(ruleId);
  }

  /**
   * Delete a routing status rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteRoutingstatusRulesRuleIdWithHttpInfo(String ruleId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling deleteRoutingstatusRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete a user presence alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteUserpresenceAlertsAlertId(String alertId) throws ApiException {
    deleteUserpresenceAlertsAlertIdWithHttpInfo(alertId);
  }

  /**
   * Delete a user presence alert
   * 
   * @param alertId Alert ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteUserpresenceAlertsAlertIdWithHttpInfo(String alertId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling deleteUserpresenceAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Delete a user presence rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public void deleteUserpresenceRulesRuleId(String ruleId) throws ApiException {
    deleteUserpresenceRulesRuleIdWithHttpInfo(ruleId);
  }

  /**
   * Delete a user presence rule.
   * 
   * @param ruleId Rule ID (required)
   * @throws ApiException if fails to make API call
   */
  public ApiResponse deleteUserpresenceRulesRuleIdWithHttpInfo(String ruleId) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling deleteUserpresenceRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "DELETE", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, null);
  }
  /**
   * Get heart beat alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatAlertContainer
   * @throws ApiException if fails to make API call
   */
  public HeartBeatAlertContainer getHeartbeatAlerts(List expand) throws ApiException {
    return getHeartbeatAlertsWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get heart beat alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatAlertContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getHeartbeatAlertsWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/alerts".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a heart beat alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatAlert
   * @throws ApiException if fails to make API call
   */
  public HeartBeatAlert getHeartbeatAlertsAlertId(String alertId, List expand) throws ApiException {
    return getHeartbeatAlertsAlertIdWithHttpInfo(alertId, expand).getResponseObject();
  }

  /**
   * Get a heart beat alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatAlert
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getHeartbeatAlertsAlertIdWithHttpInfo(String alertId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling getHeartbeatAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a heart beat rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRuleContainer
   * @throws ApiException if fails to make API call
   */
  public HeartBeatRuleContainer getHeartbeatRules(List expand) throws ApiException {
    return getHeartbeatRulesWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get a heart beat rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRuleContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getHeartbeatRulesWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a heart beat rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public HeartBeatRule getHeartbeatRulesRuleId(String ruleId, List expand) throws ApiException {
    return getHeartbeatRulesRuleIdWithHttpInfo(ruleId, expand).getResponseObject();
  }

  /**
   * Get a heart beat rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getHeartbeatRulesRuleIdWithHttpInfo(String ruleId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling getHeartbeatRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get interaction stats alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsAlertContainer
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsAlertContainer getInteractionstatsAlerts(List expand) throws ApiException {
    return getInteractionstatsAlertsWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get interaction stats alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsAlertContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getInteractionstatsAlertsWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/alerts".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get an interaction stats alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsAlert
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsAlert getInteractionstatsAlertsAlertId(String alertId, List expand) throws ApiException {
    return getInteractionstatsAlertsAlertIdWithHttpInfo(alertId, expand).getResponseObject();
  }

  /**
   * Get an interaction stats alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsAlert
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getInteractionstatsAlertsAlertIdWithHttpInfo(String alertId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling getInteractionstatsAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Gets user unread count of interaction stats alerts.
   * 
   * @return UnreadMetric
   * @throws ApiException if fails to make API call
   */
  public UnreadMetric getInteractionstatsAlertsUnread() throws ApiException {
    return getInteractionstatsAlertsUnreadWithHttpInfo().getResponseObject();
  }

  /**
   * Gets user unread count of interaction stats alerts.
   * 
   * @return UnreadMetric
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getInteractionstatsAlertsUnreadWithHttpInfo() throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/alerts/unread".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();


    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get an interaction stats rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRuleContainer
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsRuleContainer getInteractionstatsRules(List expand) throws ApiException {
    return getInteractionstatsRulesWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get an interaction stats rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRuleContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getInteractionstatsRulesWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get an interaction stats rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsRule getInteractionstatsRulesRuleId(String ruleId, List expand) throws ApiException {
    return getInteractionstatsRulesRuleIdWithHttpInfo(ruleId, expand).getResponseObject();
  }

  /**
   * Get an interaction stats rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getInteractionstatsRulesRuleIdWithHttpInfo(String ruleId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling getInteractionstatsRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get routing status alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusAlertContainer
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusAlertContainer getRoutingstatusAlerts(List expand) throws ApiException {
    return getRoutingstatusAlertsWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get routing status alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusAlertContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getRoutingstatusAlertsWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/alerts".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a routing status alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusAlert
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusAlert getRoutingstatusAlertsAlertId(String alertId, List expand) throws ApiException {
    return getRoutingstatusAlertsAlertIdWithHttpInfo(alertId, expand).getResponseObject();
  }

  /**
   * Get a routing status alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusAlert
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getRoutingstatusAlertsAlertIdWithHttpInfo(String alertId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling getRoutingstatusAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a routing status rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRuleContainer
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusRuleContainer getRoutingstatusRules(List expand) throws ApiException {
    return getRoutingstatusRulesWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get a routing status rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRuleContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getRoutingstatusRulesWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a routing status rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusRule getRoutingstatusRulesRuleId(String ruleId, List expand) throws ApiException {
    return getRoutingstatusRulesRuleIdWithHttpInfo(ruleId, expand).getResponseObject();
  }

  /**
   * Get a routing status rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getRoutingstatusRulesRuleIdWithHttpInfo(String ruleId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling getRoutingstatusRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get user presence alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceAlertContainer
   * @throws ApiException if fails to make API call
   */
  public UserPresenceAlertContainer getUserpresenceAlerts(List expand) throws ApiException {
    return getUserpresenceAlertsWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get user presence alert list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceAlertContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getUserpresenceAlertsWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/alerts".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a user presence alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceAlert
   * @throws ApiException if fails to make API call
   */
  public UserPresenceAlert getUserpresenceAlertsAlertId(String alertId, List expand) throws ApiException {
    return getUserpresenceAlertsAlertIdWithHttpInfo(alertId, expand).getResponseObject();
  }

  /**
   * Get a user presence alert
   * 
   * @param alertId Alert ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceAlert
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getUserpresenceAlertsAlertIdWithHttpInfo(String alertId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling getUserpresenceAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a user presence rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRuleContainer
   * @throws ApiException if fails to make API call
   */
  public UserPresenceRuleContainer getUserpresenceRules(List expand) throws ApiException {
    return getUserpresenceRulesWithHttpInfo(expand).getResponseObject();
  }

  /**
   * Get a user presence rule list.
   * 
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRuleContainer
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getUserpresenceRulesWithHttpInfo(List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Get a user presence rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public UserPresenceRule getUserpresenceRulesRuleId(String ruleId, List expand) throws ApiException {
    return getUserpresenceRulesRuleIdWithHttpInfo(ruleId, expand).getResponseObject();
  }

  /**
   * Get a user presence rule.
   * 
   * @param ruleId Rule ID (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse getUserpresenceRulesRuleIdWithHttpInfo(String ruleId, List expand) throws ApiException {
    Object pclocalVarPostBody = null;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling getUserpresenceRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Create a heart beat rule.
   * 
   * @param body HeartBeatRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public HeartBeatRule postHeartbeatRules(HeartBeatRule body, List expand) throws ApiException {
    return postHeartbeatRulesWithHttpInfo(body, expand).getResponseObject();
  }

  /**
   * Create a heart beat rule.
   * 
   * @param body HeartBeatRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse postHeartbeatRulesWithHttpInfo(HeartBeatRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling postHeartbeatRules");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "POST", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Create an interaction stats rule.
   * 
   * @param body AlertingRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsRule postInteractionstatsRules(InteractionStatsRule body, List expand) throws ApiException {
    return postInteractionstatsRulesWithHttpInfo(body, expand).getResponseObject();
  }

  /**
   * Create an interaction stats rule.
   * 
   * @param body AlertingRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse postInteractionstatsRulesWithHttpInfo(InteractionStatsRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling postInteractionstatsRules");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "POST", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Create a routing status rule.
   * 
   * @param body RoutingStatusRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusRule postRoutingstatusRules(RoutingStatusRule body, List expand) throws ApiException {
    return postRoutingstatusRulesWithHttpInfo(body, expand).getResponseObject();
  }

  /**
   * Create a routing status rule.
   * 
   * @param body RoutingStatusRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse postRoutingstatusRulesWithHttpInfo(RoutingStatusRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling postRoutingstatusRules");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "POST", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Create a user presence rule.
   * 
   * @param body UserPresenceRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public UserPresenceRule postUserpresenceRules(UserPresenceRule body, List expand) throws ApiException {
    return postUserpresenceRulesWithHttpInfo(body, expand).getResponseObject();
  }

  /**
   * Create a user presence rule.
   * 
   * @param body UserPresenceRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse postUserpresenceRulesWithHttpInfo(UserPresenceRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling postUserpresenceRules");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/rules".replaceAll("\\{format\\}","json");

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "POST", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Update a heart beat rule
   * 
   * @param ruleId Rule ID (required)
   * @param body HeartBeatRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public HeartBeatRule putHeartbeatRulesRuleId(String ruleId, HeartBeatRule body, List expand) throws ApiException {
    return putHeartbeatRulesRuleIdWithHttpInfo(ruleId, body, expand).getResponseObject();
  }

  /**
   * Update a heart beat rule
   * 
   * @param ruleId Rule ID (required)
   * @param body HeartBeatRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return HeartBeatRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse putHeartbeatRulesRuleIdWithHttpInfo(String ruleId, HeartBeatRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling putHeartbeatRulesRuleId");
    }
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling putHeartbeatRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/heartbeat/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "PUT", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Update an interaction stats alert read status
   * 
   * @param alertId Alert ID (required)
   * @param body InteractionStatsAlert (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UnreadStatus
   * @throws ApiException if fails to make API call
   */
  public UnreadStatus putInteractionstatsAlertsAlertId(String alertId, UnreadStatus body, List expand) throws ApiException {
    return putInteractionstatsAlertsAlertIdWithHttpInfo(alertId, body, expand).getResponseObject();
  }

  /**
   * Update an interaction stats alert read status
   * 
   * @param alertId Alert ID (required)
   * @param body InteractionStatsAlert (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UnreadStatus
   * @throws ApiException if fails to make API call
   */
  public ApiResponse putInteractionstatsAlertsAlertIdWithHttpInfo(String alertId, UnreadStatus body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'alertId' is set
    if (alertId == null) {
      throw new ApiException(400, "Missing the required parameter 'alertId' when calling putInteractionstatsAlertsAlertId");
    }
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling putInteractionstatsAlertsAlertId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/alerts/{alertId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "alertId" + "\\}", pcapiClient.escapeString(alertId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "PUT", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Update an interaction stats rule
   * 
   * @param ruleId Rule ID (required)
   * @param body AlertingRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public InteractionStatsRule putInteractionstatsRulesRuleId(String ruleId, InteractionStatsRule body, List expand) throws ApiException {
    return putInteractionstatsRulesRuleIdWithHttpInfo(ruleId, body, expand).getResponseObject();
  }

  /**
   * Update an interaction stats rule
   * 
   * @param ruleId Rule ID (required)
   * @param body AlertingRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return InteractionStatsRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse putInteractionstatsRulesRuleIdWithHttpInfo(String ruleId, InteractionStatsRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling putInteractionstatsRulesRuleId");
    }
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling putInteractionstatsRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/interactionstats/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "PUT", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Update a routing status rule
   * 
   * @param ruleId Rule ID (required)
   * @param body RoutingStatusRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public RoutingStatusRule putRoutingstatusRulesRuleId(String ruleId, RoutingStatusRule body, List expand) throws ApiException {
    return putRoutingstatusRulesRuleIdWithHttpInfo(ruleId, body, expand).getResponseObject();
  }

  /**
   * Update a routing status rule
   * 
   * @param ruleId Rule ID (required)
   * @param body RoutingStatusRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return RoutingStatusRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse putRoutingstatusRulesRuleIdWithHttpInfo(String ruleId, RoutingStatusRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling putRoutingstatusRulesRuleId");
    }
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling putRoutingstatusRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/routingstatus/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "PUT", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
  /**
   * Update a user presence rule
   * 
   * @param ruleId Rule ID (required)
   * @param body UserPresenceRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public UserPresenceRule putUserpresenceRulesRuleId(String ruleId, UserPresenceRule body, List expand) throws ApiException {
    return putUserpresenceRulesRuleIdWithHttpInfo(ruleId, body, expand).getResponseObject();
  }

  /**
   * Update a user presence rule
   * 
   * @param ruleId Rule ID (required)
   * @param body UserPresenceRule (required)
   * @param expand Which fields, if any, to expand (optional)
   * @return UserPresenceRule
   * @throws ApiException if fails to make API call
   */
  public ApiResponse putUserpresenceRulesRuleIdWithHttpInfo(String ruleId, UserPresenceRule body, List expand) throws ApiException {
    Object pclocalVarPostBody = body;
    
    // verify the required parameter 'ruleId' is set
    if (ruleId == null) {
      throw new ApiException(400, "Missing the required parameter 'ruleId' when calling putUserpresenceRulesRuleId");
    }
    
    // verify the required parameter 'body' is set
    if (body == null) {
      throw new ApiException(400, "Missing the required parameter 'body' when calling putUserpresenceRulesRuleId");
    }
    
    // create path and map variables
    String pclocalVarPath = "/api/v2/alerting/userpresence/rules/{ruleId}".replaceAll("\\{format\\}","json")
      .replaceAll("\\{" + "ruleId" + "\\}", pcapiClient.escapeString(ruleId.toString()));

    // query params
    List pclocalVarQueryParams = new ArrayList();
    Map pclocalVarHeaderParams = new HashMap();
    Map pclocalVarFormParams = new HashMap();

    pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("multi", "expand", expand));

    
    
    final String[] pclocalVarAccepts = {
      "application/json"
    };
    final String pclocalVarAccept = pcapiClient.selectHeaderAccept(pclocalVarAccepts);

    final String[] pclocalVarContentTypes = {
      "application/json"
    };
    final String pclocalVarContentType = pcapiClient.selectHeaderContentType(pclocalVarContentTypes);

    String[] pclocalVarAuthNames = new String[] { "PureCloud Auth" };

    return pcapiClient.invokeAPIVerbose(pclocalVarPath, "PUT", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy