forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amazonlexrequest.go
25 lines (19 loc) · 933 Bytes
/
amazonlexrequest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Amazonlexrequest
type Amazonlexrequest struct {
// RequestAttributes - AttributeName/AttributeValue pairs of User Defined Request Attributes to be sent to the amazon bot See - https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-request-attribs
RequestAttributes *map[string]string `json:"requestAttributes,omitempty"`
// SessionAttributes - AttributeName/AttributeValue pairs of Session Attributes to be sent to the amazon bot. See - https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-session-attribs
SessionAttributes *map[string]string `json:"sessionAttributes,omitempty"`
}
// String returns a JSON representation of the model
func (o *Amazonlexrequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}