AutomatedAgentReply constructor
AutomatedAgentReply({
- DetectIntentResponse? detectIntentResponse,
- Iterable<
ResponseMessage> ? responseMessages, - String? intent,
- String? event,
- Struct? cxSessionParameters,
Implementation
factory AutomatedAgentReply({
$9.DetectIntentResponse? detectIntentResponse,
$core.Iterable<ResponseMessage>? responseMessages,
$core.String? intent,
$core.String? event,
$19.Struct? cxSessionParameters,
}) {
final _result = create();
if (detectIntentResponse != null) {
_result.detectIntentResponse = detectIntentResponse;
}
if (responseMessages != null) {
_result.responseMessages.addAll(responseMessages);
}
if (intent != null) {
_result.intent = intent;
}
if (event != null) {
_result.event = event;
}
if (cxSessionParameters != null) {
_result.cxSessionParameters = cxSessionParameters;
}
return _result;
}