Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.mypurecloud.sdk.api.TelephonyProvidersEdgeApi Maven / Gradle / Ivy
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.EdgeEntityListing;
import com.mypurecloud.sdk.model.AvailableLanguageList;
import com.mypurecloud.sdk.model.CertificateAuthorityEntityListing;
import com.mypurecloud.sdk.model.DomainCertificateAuthority;
import com.mypurecloud.sdk.model.DIDPoolEntityListing;
import com.mypurecloud.sdk.model.DIDPool;
import com.mypurecloud.sdk.model.DIDEntityListing;
import com.mypurecloud.sdk.model.DID;
import com.mypurecloud.sdk.model.Edge;
import com.mypurecloud.sdk.model.EdgeLineEntityListing;
import com.mypurecloud.sdk.model.EdgeLine;
import com.mypurecloud.sdk.model.LogicalInterfaceEntityListing;
import com.mypurecloud.sdk.model.DomainLogicalInterface;
import com.mypurecloud.sdk.model.EdgeLogsJob;
import com.mypurecloud.sdk.model.PhysicalInterfaceEntityListing;
import com.mypurecloud.sdk.model.DomainPhysicalInterface;
import com.mypurecloud.sdk.model.VmPairingInfo;
import com.mypurecloud.sdk.model.DomainEdgeSoftwareUpdateDto;
import com.mypurecloud.sdk.model.DomainEdgeSoftwareVersionDtoEntityListing;
import com.mypurecloud.sdk.model.EdgeGroupEntityListing;
import com.mypurecloud.sdk.model.EdgeGroup;
import com.mypurecloud.sdk.model.EdgeTrunkBase;
import com.mypurecloud.sdk.model.EdgeVersionReport;
import com.mypurecloud.sdk.model.EndpointEntityListing;
import com.mypurecloud.sdk.model.Endpoint;
import com.mypurecloud.sdk.model.ExtensionPoolEntityListing;
import com.mypurecloud.sdk.model.ExtensionPool;
import com.mypurecloud.sdk.model.ExtensionEntityListing;
import com.mypurecloud.sdk.model.Extension;
import com.mypurecloud.sdk.model.LineBaseEntityListing;
import com.mypurecloud.sdk.model.LineBase;
import com.mypurecloud.sdk.model.LineEntityListing;
import com.mypurecloud.sdk.model.Line;
import com.mypurecloud.sdk.model.OutboundRouteEntityListing;
import com.mypurecloud.sdk.model.OutboundRoute;
import com.mypurecloud.sdk.model.PhoneBaseEntityListing;
import com.mypurecloud.sdk.model.PhoneMetaBaseEntityListing;
import com.mypurecloud.sdk.model.PhoneBase;
import com.mypurecloud.sdk.model.PhoneEntityListing;
import com.mypurecloud.sdk.model.Phone;
import com.mypurecloud.sdk.model.SiteEntityListing;
import com.mypurecloud.sdk.model.Site;
import com.mypurecloud.sdk.model.NumberPlan;
import com.mypurecloud.sdk.model.OutboundRouteBaseEntityListing;
import com.mypurecloud.sdk.model.OutboundRouteBase;
import com.mypurecloud.sdk.model.TimeZoneEntityListing;
import com.mypurecloud.sdk.model.TrunkBaseEntityListing;
import com.mypurecloud.sdk.model.TrunkMetabaseEntityListing;
import com.mypurecloud.sdk.model.TrunkBase;
import com.mypurecloud.sdk.model.TrunkEntityListing;
import com.mypurecloud.sdk.model.Trunk;
import com.mypurecloud.sdk.model.TrunkRecordingEnabledCount;
import com.mypurecloud.sdk.model.SchemaCategoryEntityListing;
import com.mypurecloud.sdk.model.SchemaReferenceEntityListing;
import com.mypurecloud.sdk.model.Organization;
import com.mypurecloud.sdk.model.ValidateAddressResponse;
import com.mypurecloud.sdk.model.ValidateAddressRequest;
import com.mypurecloud.sdk.model.EdgeLogsJobRequest;
import com.mypurecloud.sdk.model.EdgeLogsJobResponse;
import com.mypurecloud.sdk.model.EdgeLogsJobUploadRequest;
import com.mypurecloud.sdk.model.EdgeRebootParameters;
import com.mypurecloud.sdk.model.EdgeServiceStateRequest;
import com.mypurecloud.sdk.model.PhonesReboot;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TelephonyProvidersEdgeApi {
private ApiClient pcapiClient;
public TelephonyProvidersEdgeApi() {
this(Configuration.getDefaultApiClient());
}
public TelephonyProvidersEdgeApi(ApiClient apiClient) {
this.pcapiClient = apiClient;
}
public ApiClient getApiClient() {
return pcapiClient;
}
public void setApiClient(ApiClient apiClient) {
this.pcapiClient = apiClient;
}
/**
* Delete a certificate authority.
*
* @param certificateId Certificate ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesCertificateauthoritiesCertificateId(String certificateId) throws ApiException {
return deleteProvidersEdgesCertificateauthoritiesCertificateIdWithHttpInfo(certificateId).getResponseObject();
}
/**
* Delete a certificate authority.
*
* @param certificateId Certificate ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesCertificateauthoritiesCertificateIdWithHttpInfo(String certificateId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'certificateId' is set
if (certificateId == null) {
throw new ApiException(400, "Missing the required parameter 'certificateId' when calling deleteProvidersEdgesCertificateauthoritiesCertificateId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "certificateId" + "\\}", pcapiClient.escapeString(certificateId.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, new TypeReference() {});
}
/**
* Delete a DID Pool by ID.
*
* @param didPoolId DID pool ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesDidpoolsDidpoolId(String didPoolId) throws ApiException {
return deleteProvidersEdgesDidpoolsDidpoolIdWithHttpInfo(didPoolId).getResponseObject();
}
/**
* Delete a DID Pool by ID.
*
* @param didPoolId DID pool ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesDidpoolsDidpoolIdWithHttpInfo(String didPoolId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'didPoolId' is set
if (didPoolId == null) {
throw new ApiException(400, "Missing the required parameter 'didPoolId' when calling deleteProvidersEdgesDidpoolsDidpoolId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "didPoolId" + "\\}", pcapiClient.escapeString(didPoolId.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, new TypeReference() {});
}
/**
* Delete a edge.
*
* @param edgeId Edge ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesEdgeId(String edgeId) throws ApiException {
return deleteProvidersEdgesEdgeIdWithHttpInfo(edgeId).getResponseObject();
}
/**
* Delete a edge.
*
* @param edgeId Edge ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesEdgeIdWithHttpInfo(String edgeId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling deleteProvidersEdgesEdgeId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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, new TypeReference() {});
}
/**
* Delete an edge logical interface
*
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @throws ApiException if fails to make API call
*/
public void deleteProvidersEdgesEdgeIdLogicalinterfacesInterfaceId(String edgeId, String interfaceId) throws ApiException {
deleteProvidersEdgesEdgeIdLogicalinterfacesInterfaceIdWithHttpInfo(edgeId, interfaceId);
}
/**
* Delete an edge logical interface
*
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesEdgeIdLogicalinterfacesInterfaceIdWithHttpInfo(String edgeId, String interfaceId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling deleteProvidersEdgesEdgeIdLogicalinterfacesInterfaceId");
}
// verify the required parameter 'interfaceId' is set
if (interfaceId == null) {
throw new ApiException(400, "Missing the required parameter 'interfaceId' when calling deleteProvidersEdgesEdgeIdLogicalinterfacesInterfaceId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()))
.replaceAll("\\{" + "interfaceId" + "\\}", pcapiClient.escapeString(interfaceId.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);
}
/**
* Cancels any in-progress update for this edge.
*
* @param edgeId Edge ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesEdgeIdSoftwareupdate(String edgeId) throws ApiException {
return deleteProvidersEdgesEdgeIdSoftwareupdateWithHttpInfo(edgeId).getResponseObject();
}
/**
* Cancels any in-progress update for this edge.
*
* @param edgeId Edge ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesEdgeIdSoftwareupdateWithHttpInfo(String edgeId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling deleteProvidersEdgesEdgeIdSoftwareupdate");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/softwareupdate".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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, new TypeReference() {});
}
/**
* Delete an edge group.
*
* @param edgeGroupId Edge group ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesEdgegroupsEdgegroupId(String edgeGroupId) throws ApiException {
return deleteProvidersEdgesEdgegroupsEdgegroupIdWithHttpInfo(edgeGroupId).getResponseObject();
}
/**
* Delete an edge group.
*
* @param edgeGroupId Edge group ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesEdgegroupsEdgegroupIdWithHttpInfo(String edgeGroupId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeGroupId' is set
if (edgeGroupId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeGroupId' when calling deleteProvidersEdgesEdgegroupsEdgegroupId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeGroupId" + "\\}", pcapiClient.escapeString(edgeGroupId.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, new TypeReference() {});
}
/**
* Delete endpoint
*
* @param endpointId Endpoint ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesEndpointsEndpointId(String endpointId) throws ApiException {
return deleteProvidersEdgesEndpointsEndpointIdWithHttpInfo(endpointId).getResponseObject();
}
/**
* Delete endpoint
*
* @param endpointId Endpoint ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesEndpointsEndpointIdWithHttpInfo(String endpointId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'endpointId' is set
if (endpointId == null) {
throw new ApiException(400, "Missing the required parameter 'endpointId' when calling deleteProvidersEdgesEndpointsEndpointId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "endpointId" + "\\}", pcapiClient.escapeString(endpointId.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, new TypeReference() {});
}
/**
* Delete an extension pool by ID
*
* @param extensionPoolId Extension pool ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesExtensionpoolsExtensionpoolId(String extensionPoolId) throws ApiException {
return deleteProvidersEdgesExtensionpoolsExtensionpoolIdWithHttpInfo(extensionPoolId).getResponseObject();
}
/**
* Delete an extension pool by ID
*
* @param extensionPoolId Extension pool ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesExtensionpoolsExtensionpoolIdWithHttpInfo(String extensionPoolId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'extensionPoolId' is set
if (extensionPoolId == null) {
throw new ApiException(400, "Missing the required parameter 'extensionPoolId' when calling deleteProvidersEdgesExtensionpoolsExtensionpoolId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "extensionPoolId" + "\\}", pcapiClient.escapeString(extensionPoolId.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, new TypeReference() {});
}
/**
* Delete Outbound Route
*
* @param outboundRouteId Outbound route ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesOutboundroutesOutboundrouteId(String outboundRouteId) throws ApiException {
return deleteProvidersEdgesOutboundroutesOutboundrouteIdWithHttpInfo(outboundRouteId).getResponseObject();
}
/**
* Delete Outbound Route
*
* @param outboundRouteId Outbound route ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesOutboundroutesOutboundrouteIdWithHttpInfo(String outboundRouteId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'outboundRouteId' is set
if (outboundRouteId == null) {
throw new ApiException(400, "Missing the required parameter 'outboundRouteId' when calling deleteProvidersEdgesOutboundroutesOutboundrouteId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "outboundRouteId" + "\\}", pcapiClient.escapeString(outboundRouteId.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, new TypeReference() {});
}
/**
* Delete a Phone Base Settings by ID
*
* @param phoneBaseId Phone base ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesPhonebasesettingsPhonebaseId(String phoneBaseId) throws ApiException {
return deleteProvidersEdgesPhonebasesettingsPhonebaseIdWithHttpInfo(phoneBaseId).getResponseObject();
}
/**
* Delete a Phone Base Settings by ID
*
* @param phoneBaseId Phone base ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesPhonebasesettingsPhonebaseIdWithHttpInfo(String phoneBaseId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'phoneBaseId' is set
if (phoneBaseId == null) {
throw new ApiException(400, "Missing the required parameter 'phoneBaseId' when calling deleteProvidersEdgesPhonebasesettingsPhonebaseId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "phoneBaseId" + "\\}", pcapiClient.escapeString(phoneBaseId.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, new TypeReference() {});
}
/**
* Delete a Phone by ID
*
* @param phoneId Phone ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesPhonesPhoneId(String phoneId) throws ApiException {
return deleteProvidersEdgesPhonesPhoneIdWithHttpInfo(phoneId).getResponseObject();
}
/**
* Delete a Phone by ID
*
* @param phoneId Phone ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesPhonesPhoneIdWithHttpInfo(String phoneId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'phoneId' is set
if (phoneId == null) {
throw new ApiException(400, "Missing the required parameter 'phoneId' when calling deleteProvidersEdgesPhonesPhoneId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/phones/{phoneId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "phoneId" + "\\}", pcapiClient.escapeString(phoneId.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, new TypeReference() {});
}
/**
* Delete a Site by ID
*
* @param siteId Site ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesSitesSiteId(String siteId) throws ApiException {
return deleteProvidersEdgesSitesSiteIdWithHttpInfo(siteId).getResponseObject();
}
/**
* Delete a Site by ID
*
* @param siteId Site ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesSitesSiteIdWithHttpInfo(String siteId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'siteId' is set
if (siteId == null) {
throw new ApiException(400, "Missing the required parameter 'siteId' when calling deleteProvidersEdgesSitesSiteId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/sites/{siteId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "siteId" + "\\}", pcapiClient.escapeString(siteId.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, new TypeReference() {});
}
/**
* Delete Outbound Route
*
* @param siteId Site ID (required)
* @param outboundRouteId Outbound route ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesSitesSiteIdOutboundroutesOutboundrouteId(String siteId, String outboundRouteId) throws ApiException {
return deleteProvidersEdgesSitesSiteIdOutboundroutesOutboundrouteIdWithHttpInfo(siteId, outboundRouteId).getResponseObject();
}
/**
* Delete Outbound Route
*
* @param siteId Site ID (required)
* @param outboundRouteId Outbound route ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesSitesSiteIdOutboundroutesOutboundrouteIdWithHttpInfo(String siteId, String outboundRouteId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'siteId' is set
if (siteId == null) {
throw new ApiException(400, "Missing the required parameter 'siteId' when calling deleteProvidersEdgesSitesSiteIdOutboundroutesOutboundrouteId");
}
// verify the required parameter 'outboundRouteId' is set
if (outboundRouteId == null) {
throw new ApiException(400, "Missing the required parameter 'outboundRouteId' when calling deleteProvidersEdgesSitesSiteIdOutboundroutesOutboundrouteId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "siteId" + "\\}", pcapiClient.escapeString(siteId.toString()))
.replaceAll("\\{" + "outboundRouteId" + "\\}", pcapiClient.escapeString(outboundRouteId.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, new TypeReference() {});
}
/**
* Delete a Trunk Base Settings object by ID
*
* @param trunkBaseSettingsId Trunk Base ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public String deleteProvidersEdgesTrunkbasesettingsTrunkbasesettingsId(String trunkBaseSettingsId) throws ApiException {
return deleteProvidersEdgesTrunkbasesettingsTrunkbasesettingsIdWithHttpInfo(trunkBaseSettingsId).getResponseObject();
}
/**
* Delete a Trunk Base Settings object by ID
*
* @param trunkBaseSettingsId Trunk Base ID (required)
* @return String
* @throws ApiException if fails to make API call
*/
public ApiResponse deleteProvidersEdgesTrunkbasesettingsTrunkbasesettingsIdWithHttpInfo(String trunkBaseSettingsId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'trunkBaseSettingsId' is set
if (trunkBaseSettingsId == null) {
throw new ApiException(400, "Missing the required parameter 'trunkBaseSettingsId' when calling deleteProvidersEdgesTrunkbasesettingsTrunkbasesettingsId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "trunkBaseSettingsId" + "\\}", pcapiClient.escapeString(trunkBaseSettingsId.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, new TypeReference() {});
}
/**
* Get the list of edges.
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param name Name (optional)
* @param siteId Filter by site.id (optional)
* @param edgeGroupId Filter by edgeGroup.id (optional)
* @param sortBy Sort by (optional, default to name)
* @param managed Filter by managed (optional)
* @return EdgeEntityListing
* @throws ApiException if fails to make API call
*/
public EdgeEntityListing getProvidersEdges(Integer pageSize, Integer pageNumber, String name, String siteId, String edgeGroupId, String sortBy, Boolean managed) throws ApiException {
return getProvidersEdgesWithHttpInfo(pageSize, pageNumber, name, siteId, edgeGroupId, sortBy, managed).getResponseObject();
}
/**
* Get the list of edges.
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param name Name (optional)
* @param siteId Filter by site.id (optional)
* @param edgeGroupId Filter by edgeGroup.id (optional)
* @param sortBy Sort by (optional, default to name)
* @param managed Filter by managed (optional)
* @return EdgeEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesWithHttpInfo(Integer pageSize, Integer pageNumber, String name, String siteId, String edgeGroupId, String sortBy, Boolean managed) throws ApiException {
Object pclocalVarPostBody = null;
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges".replaceAll("\\{format\\}","json");
// query params
List pclocalVarQueryParams = new ArrayList();
Map pclocalVarHeaderParams = new HashMap();
Map pclocalVarFormParams = new HashMap();
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageSize", pageSize));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageNumber", pageNumber));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "name", name));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "site.id", siteId));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "edgeGroup.id", edgeGroupId));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "sortBy", sortBy));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "managed", managed));
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 the list of available languages.
*
* @return AvailableLanguageList
* @throws ApiException if fails to make API call
*/
public AvailableLanguageList getProvidersEdgesAvailablelanguages() throws ApiException {
return getProvidersEdgesAvailablelanguagesWithHttpInfo().getResponseObject();
}
/**
* Get the list of available languages.
*
* @return AvailableLanguageList
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesAvailablelanguagesWithHttpInfo() throws ApiException {
Object pclocalVarPostBody = null;
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/availablelanguages".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 the list of certificate authorities.
*
* @return CertificateAuthorityEntityListing
* @throws ApiException if fails to make API call
*/
public CertificateAuthorityEntityListing getProvidersEdgesCertificateauthorities() throws ApiException {
return getProvidersEdgesCertificateauthoritiesWithHttpInfo().getResponseObject();
}
/**
* Get the list of certificate authorities.
*
* @return CertificateAuthorityEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesCertificateauthoritiesWithHttpInfo() throws ApiException {
Object pclocalVarPostBody = null;
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/certificateauthorities".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 a certificate authority.
*
* @param certificateId Certificate ID (required)
* @return DomainCertificateAuthority
* @throws ApiException if fails to make API call
*/
public DomainCertificateAuthority getProvidersEdgesCertificateauthoritiesCertificateId(String certificateId) throws ApiException {
return getProvidersEdgesCertificateauthoritiesCertificateIdWithHttpInfo(certificateId).getResponseObject();
}
/**
* Get a certificate authority.
*
* @param certificateId Certificate ID (required)
* @return DomainCertificateAuthority
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesCertificateauthoritiesCertificateIdWithHttpInfo(String certificateId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'certificateId' is set
if (certificateId == null) {
throw new ApiException(400, "Missing the required parameter 'certificateId' when calling getProvidersEdgesCertificateauthoritiesCertificateId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "certificateId" + "\\}", pcapiClient.escapeString(certificateId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get a listing of DID Pools
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param sortBy Sort by (optional, default to number)
* @return DIDPoolEntityListing
* @throws ApiException if fails to make API call
*/
public DIDPoolEntityListing getProvidersEdgesDidpools(Integer pageSize, Integer pageNumber, String sortBy) throws ApiException {
return getProvidersEdgesDidpoolsWithHttpInfo(pageSize, pageNumber, sortBy).getResponseObject();
}
/**
* Get a listing of DID Pools
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param sortBy Sort by (optional, default to number)
* @return DIDPoolEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesDidpoolsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy) throws ApiException {
Object pclocalVarPostBody = null;
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/didpools".replaceAll("\\{format\\}","json");
// query params
List pclocalVarQueryParams = new ArrayList();
Map pclocalVarHeaderParams = new HashMap();
Map pclocalVarFormParams = new HashMap();
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageSize", pageSize));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageNumber", pageNumber));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "sortBy", sortBy));
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 DID Pool by ID.
*
* @param didPoolId DID pool ID (required)
* @return DIDPool
* @throws ApiException if fails to make API call
*/
public DIDPool getProvidersEdgesDidpoolsDidpoolId(String didPoolId) throws ApiException {
return getProvidersEdgesDidpoolsDidpoolIdWithHttpInfo(didPoolId).getResponseObject();
}
/**
* Get a DID Pool by ID.
*
* @param didPoolId DID pool ID (required)
* @return DIDPool
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesDidpoolsDidpoolIdWithHttpInfo(String didPoolId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'didPoolId' is set
if (didPoolId == null) {
throw new ApiException(400, "Missing the required parameter 'didPoolId' when calling getProvidersEdgesDidpoolsDidpoolId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "didPoolId" + "\\}", pcapiClient.escapeString(didPoolId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get a listing of DIDs
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param sortBy Sort by (optional, default to number)
* @param sortOrder Sort order (optional, default to ASC)
* @param phoneNumber Filter by phoneNumber (optional)
* @return DIDEntityListing
* @throws ApiException if fails to make API call
*/
public DIDEntityListing getProvidersEdgesDids(Integer pageSize, Integer pageNumber, String sortBy, String sortOrder, String phoneNumber) throws ApiException {
return getProvidersEdgesDidsWithHttpInfo(pageSize, pageNumber, sortBy, sortOrder, phoneNumber).getResponseObject();
}
/**
* Get a listing of DIDs
*
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @param sortBy Sort by (optional, default to number)
* @param sortOrder Sort order (optional, default to ASC)
* @param phoneNumber Filter by phoneNumber (optional)
* @return DIDEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesDidsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String sortOrder, String phoneNumber) throws ApiException {
Object pclocalVarPostBody = null;
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/dids".replaceAll("\\{format\\}","json");
// query params
List pclocalVarQueryParams = new ArrayList();
Map pclocalVarHeaderParams = new HashMap();
Map pclocalVarFormParams = new HashMap();
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageSize", pageSize));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageNumber", pageNumber));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "sortBy", sortBy));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "sortOrder", sortOrder));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "phoneNumber", phoneNumber));
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 DID by ID.
*
* @param didId DID ID (required)
* @return DID
* @throws ApiException if fails to make API call
*/
public DID getProvidersEdgesDidsDidId(String didId) throws ApiException {
return getProvidersEdgesDidsDidIdWithHttpInfo(didId).getResponseObject();
}
/**
* Get a DID by ID.
*
* @param didId DID ID (required)
* @return DID
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesDidsDidIdWithHttpInfo(String didId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'didId' is set
if (didId == null) {
throw new ApiException(400, "Missing the required parameter 'didId' when calling getProvidersEdgesDidsDidId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/dids/{didId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "didId" + "\\}", pcapiClient.escapeString(didId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get edge.
*
* @param edgeId Edge ID (required)
* @param expand Fields to expand in the response, comma-separated (optional)
* @return Edge
* @throws ApiException if fails to make API call
*/
public Edge getProvidersEdgesEdgeId(String edgeId, List expand) throws ApiException {
return getProvidersEdgesEdgeIdWithHttpInfo(edgeId, expand).getResponseObject();
}
/**
* Get edge.
*
* @param edgeId Edge ID (required)
* @param expand Fields to expand in the response, comma-separated (optional)
* @return Edge
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdWithHttpInfo(String edgeId, List expand) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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 the list of lines.
*
* @param edgeId Edge ID (required)
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @return EdgeLineEntityListing
* @throws ApiException if fails to make API call
*/
public EdgeLineEntityListing getProvidersEdgesEdgeIdLines(String edgeId, Integer pageSize, Integer pageNumber) throws ApiException {
return getProvidersEdgesEdgeIdLinesWithHttpInfo(edgeId, pageSize, pageNumber).getResponseObject();
}
/**
* Get the list of lines.
*
* @param edgeId Edge ID (required)
* @param pageSize Page size (optional, default to 25)
* @param pageNumber Page number (optional, default to 1)
* @return EdgeLineEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdLinesWithHttpInfo(String edgeId, Integer pageSize, Integer pageNumber) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdLines");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/lines".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()));
// query params
List pclocalVarQueryParams = new ArrayList();
Map pclocalVarHeaderParams = new HashMap();
Map pclocalVarFormParams = new HashMap();
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageSize", pageSize));
pclocalVarQueryParams.addAll(pcapiClient.parameterToPairs("", "pageNumber", pageNumber));
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 line
*
* @param edgeId Edge ID (required)
* @param lineId Line ID (required)
* @return EdgeLine
* @throws ApiException if fails to make API call
*/
public EdgeLine getProvidersEdgesEdgeIdLinesLineId(String edgeId, String lineId) throws ApiException {
return getProvidersEdgesEdgeIdLinesLineIdWithHttpInfo(edgeId, lineId).getResponseObject();
}
/**
* Get line
*
* @param edgeId Edge ID (required)
* @param lineId Line ID (required)
* @return EdgeLine
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdLinesLineIdWithHttpInfo(String edgeId, String lineId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdLinesLineId");
}
// verify the required parameter 'lineId' is set
if (lineId == null) {
throw new ApiException(400, "Missing the required parameter 'lineId' when calling getProvidersEdgesEdgeIdLinesLineId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()))
.replaceAll("\\{" + "lineId" + "\\}", pcapiClient.escapeString(lineId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get edge logical interfaces.
* Retrieve a list of all configured logical interfaces from a specific edge.
* @param edgeId Edge ID (required)
* @param expand Field to expand in the response (optional)
* @return LogicalInterfaceEntityListing
* @throws ApiException if fails to make API call
*/
public LogicalInterfaceEntityListing getProvidersEdgesEdgeIdLogicalinterfaces(String edgeId, List expand) throws ApiException {
return getProvidersEdgesEdgeIdLogicalinterfacesWithHttpInfo(edgeId, expand).getResponseObject();
}
/**
* Get edge logical interfaces.
* Retrieve a list of all configured logical interfaces from a specific edge.
* @param edgeId Edge ID (required)
* @param expand Field to expand in the response (optional)
* @return LogicalInterfaceEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdLogicalinterfacesWithHttpInfo(String edgeId, List expand) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdLogicalinterfaces");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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 an edge logical interface
*
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @param expand Field to expand in the response (optional)
* @return DomainLogicalInterface
* @throws ApiException if fails to make API call
*/
public DomainLogicalInterface getProvidersEdgesEdgeIdLogicalinterfacesInterfaceId(String edgeId, String interfaceId, List expand) throws ApiException {
return getProvidersEdgesEdgeIdLogicalinterfacesInterfaceIdWithHttpInfo(edgeId, interfaceId, expand).getResponseObject();
}
/**
* Get an edge logical interface
*
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @param expand Field to expand in the response (optional)
* @return DomainLogicalInterface
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdLogicalinterfacesInterfaceIdWithHttpInfo(String edgeId, String interfaceId, List expand) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdLogicalinterfacesInterfaceId");
}
// verify the required parameter 'interfaceId' is set
if (interfaceId == null) {
throw new ApiException(400, "Missing the required parameter 'interfaceId' when calling getProvidersEdgesEdgeIdLogicalinterfacesInterfaceId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()))
.replaceAll("\\{" + "interfaceId" + "\\}", pcapiClient.escapeString(interfaceId.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 an Edge logs job.
*
* @param edgeId Edge ID (required)
* @param jobId Job ID (required)
* @return EdgeLogsJob
* @throws ApiException if fails to make API call
*/
public EdgeLogsJob getProvidersEdgesEdgeIdLogsJobsJobId(String edgeId, String jobId) throws ApiException {
return getProvidersEdgesEdgeIdLogsJobsJobIdWithHttpInfo(edgeId, jobId).getResponseObject();
}
/**
* Get an Edge logs job.
*
* @param edgeId Edge ID (required)
* @param jobId Job ID (required)
* @return EdgeLogsJob
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdLogsJobsJobIdWithHttpInfo(String edgeId, String jobId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdLogsJobsJobId");
}
// verify the required parameter 'jobId' is set
if (jobId == null) {
throw new ApiException(400, "Missing the required parameter 'jobId' when calling getProvidersEdgesEdgeIdLogsJobsJobId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()))
.replaceAll("\\{" + "jobId" + "\\}", pcapiClient.escapeString(jobId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Retrieve a list of all configured physical interfaces from a specific edge.
*
* @param edgeId Edge ID (required)
* @return PhysicalInterfaceEntityListing
* @throws ApiException if fails to make API call
*/
public PhysicalInterfaceEntityListing getProvidersEdgesEdgeIdPhysicalinterfaces(String edgeId) throws ApiException {
return getProvidersEdgesEdgeIdPhysicalinterfacesWithHttpInfo(edgeId).getResponseObject();
}
/**
* Retrieve a list of all configured physical interfaces from a specific edge.
*
* @param edgeId Edge ID (required)
* @return PhysicalInterfaceEntityListing
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdPhysicalinterfacesWithHttpInfo(String edgeId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdPhysicalinterfaces");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get edge physical interface.
* Retrieve a physical interface from a specific edge.
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @return DomainPhysicalInterface
* @throws ApiException if fails to make API call
*/
public DomainPhysicalInterface getProvidersEdgesEdgeIdPhysicalinterfacesInterfaceId(String edgeId, String interfaceId) throws ApiException {
return getProvidersEdgesEdgeIdPhysicalinterfacesInterfaceIdWithHttpInfo(edgeId, interfaceId).getResponseObject();
}
/**
* Get edge physical interface.
* Retrieve a physical interface from a specific edge.
* @param edgeId Edge ID (required)
* @param interfaceId Interface ID (required)
* @return DomainPhysicalInterface
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdPhysicalinterfacesInterfaceIdWithHttpInfo(String edgeId, String interfaceId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdPhysicalinterfacesInterfaceId");
}
// verify the required parameter 'interfaceId' is set
if (interfaceId == null) {
throw new ApiException(400, "Missing the required parameter 'interfaceId' when calling getProvidersEdgesEdgeIdPhysicalinterfacesInterfaceId");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces/{interfaceId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.toString()))
.replaceAll("\\{" + "interfaceId" + "\\}", pcapiClient.escapeString(interfaceId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference() {});
}
/**
* Get the setup package for a locally deployed edge device. This is needed to complete the setup process for the virtual edge.
*
* @param edgeId Edge ID (required)
* @return VmPairingInfo
* @throws ApiException if fails to make API call
*/
public VmPairingInfo getProvidersEdgesEdgeIdSetuppackage(String edgeId) throws ApiException {
return getProvidersEdgesEdgeIdSetuppackageWithHttpInfo(edgeId).getResponseObject();
}
/**
* Get the setup package for a locally deployed edge device. This is needed to complete the setup process for the virtual edge.
*
* @param edgeId Edge ID (required)
* @return VmPairingInfo
* @throws ApiException if fails to make API call
*/
public ApiResponse getProvidersEdgesEdgeIdSetuppackageWithHttpInfo(String edgeId) throws ApiException {
Object pclocalVarPostBody = null;
// verify the required parameter 'edgeId' is set
if (edgeId == null) {
throw new ApiException(400, "Missing the required parameter 'edgeId' when calling getProvidersEdgesEdgeIdSetuppackage");
}
// create path and map variables
String pclocalVarPath = "/api/v2/telephony/providers/edges/{edgeId}/setuppackage".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "edgeId" + "\\}", pcapiClient.escapeString(edgeId.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, "GET", pclocalVarQueryParams, pclocalVarPostBody, pclocalVarHeaderParams, pclocalVarFormParams, pclocalVarAccept, pclocalVarContentType, pclocalVarAuthNames, new TypeReference