Package com.mypurecloud.sdk.v2.api
Class UtilitiesApi
java.lang.Object
com.mypurecloud.sdk.v2.api.UtilitiesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the current system date/timegetDate(GetDateRequest request) Get the current system date/timegetDate(ApiRequest<Void> request) Get the current system date/timeGet the current system date/timeGet public ip address ranges for Genesys CloudgetIpranges(GetIprangesRequest request) Get public ip address ranges for Genesys CloudgetIpranges(ApiRequest<Void> request) Get public ip address ranges for Genesys CloudGet public ip address ranges for Genesys CloudgetTimezones(GetTimezonesRequest request) Get time zones listgetTimezones(ApiRequest<Void> request) Get time zones listgetTimezones(Integer pageSize, Integer pageNumber) Get time zones listgetTimezonesWithHttpInfo(Integer pageSize, Integer pageNumber) Get time zones listReturns the information about an X509 PEM encoded certificate or certificate chain.postCertificateDetails(ApiRequest<Certificate> request) Returns the information about an X509 PEM encoded certificate or certificate chain.Returns the information about an X509 PEM encoded certificate or certificate chain.Returns the information about an X509 PEM encoded certificate or certificate chain.
-
Constructor Details
-
UtilitiesApi
public UtilitiesApi() -
UtilitiesApi
-
-
Method Details
-
getDate
Get the current system date/time- Returns:
- ServerDate
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDateWithHttpInfo
Get the current system date/time- Returns:
- ServerDate
- Throws:
IOException- if the request fails to be processed
-
getDate
Get the current system date/time- Parameters:
request- The request object- Returns:
- ServerDate
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDate
Get the current system date/time- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getIpranges
Get public ip address ranges for Genesys Cloud- Returns:
- IpAddressRangeListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIprangesWithHttpInfo
Get public ip address ranges for Genesys Cloud- Returns:
- IpAddressRangeListing
- Throws:
IOException- if the request fails to be processed
-
getIpranges
public IpAddressRangeListing getIpranges(GetIprangesRequest request) throws IOException, ApiException Get public ip address ranges for Genesys Cloud- Parameters:
request- The request object- Returns:
- IpAddressRangeListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getIpranges
Get public ip address ranges for Genesys Cloud- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getTimezones
public TimeZoneEntityListing getTimezones(Integer pageSize, Integer pageNumber) throws IOException, ApiException Get time zones list- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- TimeZoneEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTimezonesWithHttpInfo
public ApiResponse<TimeZoneEntityListing> getTimezonesWithHttpInfo(Integer pageSize, Integer pageNumber) throws IOException Get time zones list- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- TimeZoneEntityListing
- Throws:
IOException- if the request fails to be processed
-
getTimezones
public TimeZoneEntityListing getTimezones(GetTimezonesRequest request) throws IOException, ApiException Get time zones list- Parameters:
request- The request object- Returns:
- TimeZoneEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTimezones
Get time zones list- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postCertificateDetails
Returns the information about an X509 PEM encoded certificate or certificate chain.- Parameters:
body- Certificate (required)- Returns:
- ParsedCertificate
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postCertificateDetailsWithHttpInfo
public ApiResponse<ParsedCertificate> postCertificateDetailsWithHttpInfo(Certificate body) throws IOException Returns the information about an X509 PEM encoded certificate or certificate chain.- Parameters:
body- Certificate (required)- Returns:
- ParsedCertificate
- Throws:
IOException- if the request fails to be processed
-
postCertificateDetails
public ParsedCertificate postCertificateDetails(PostCertificateDetailsRequest request) throws IOException, ApiException Returns the information about an X509 PEM encoded certificate or certificate chain.- Parameters:
request- The request object- Returns:
- ParsedCertificate
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postCertificateDetails
public ApiResponse<ParsedCertificate> postCertificateDetails(ApiRequest<Certificate> request) throws IOException Returns the information about an X509 PEM encoded certificate or certificate chain.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-