20 lines
540 B
Java
20 lines
540 B
Java
/*
|
|
* Copyright 2025 Google. This software is provided as-is, without warranty or representation for any use or purpose.
|
|
* Your use of it is subject to your agreement with Google.
|
|
*/
|
|
|
|
package com.example.dto.dialogflow.conversation;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import java.time.Instant;
|
|
import java.util.Map;
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public record ConversationMessageDTO(
|
|
MessageType type,
|
|
Instant timestamp,
|
|
String text,
|
|
Map<String, Object> parameters,
|
|
String canal
|
|
) {
|
|
} |