20 lines
766 B
Java
20 lines
766 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.JsonIgnoreProperties;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
public record ExternalConvRequestDTO(
|
|
@JsonProperty("mensaje") String message,
|
|
@JsonProperty("usuario") UsuarioDTO user,
|
|
@JsonProperty("canal") String channel,
|
|
@JsonProperty("tipo") ConversationEntryType tipo,
|
|
@JsonProperty("pantallaContexto") String pantallaContexto //optional field for quick-replies
|
|
) {
|
|
public ExternalConvRequestDTO {}
|
|
} |