Package overit.geocallapp.wfm.ai.rs.v1
Class AWSRequestHeaders
java.lang.Object
overit.geocallapp.wfm.ai.rs.v1.AWSRequestHeaders
Class containing all the possibile headers for AI Api.
- Since:
- 13.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionName of the application that is performing the call.Application version.Custom attributes that have to be a JSON string encoded to Base64Unique ID of the client.Name of the environment.It's a map of string coded in base64.org.springframework.http.MediaTypeThe message that Virtual assistant returns in the response can be either text or speech based on the responseContentType value.NOTE: audio response will be given only on audio input requestID of the logged user that performs the call.
-
Field Details
-
responseContentType
protected org.springframework.http.MediaType responseContentType -
requestAttributes
-
deviceType
-
-
Constructor Details
-
AWSRequestHeaders
-
-
Method Details
-
getCustomerId
Unique ID of the client.- Returns:
-
getUserId
ID of the logged user that performs the call.- Returns:
-
getEnvironment
Name of the environment.- Returns:
-
getAppName
Name of the application that is performing the call.- Returns:
-
getAppVersion
Application version.- Returns:
-
getCustomAttributes
Custom attributes that have to be a JSON string encoded to Base64- Returns:
-
getRequestAttributes
It's a map of string coded in base64. They represent specific attributes of the current call to be sent to the VA- Returns:
-
getResponseContentType
public org.springframework.http.MediaType getResponseContentType()The message that Virtual assistant returns in the response can be either text or speech based on the responseContentType value.NOTE: audio response will be given only on audio input request- Returns:
-
getDeviceType
-
buildValues
-