
com.unblu.webapi.model.v3.ChatSuggestionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of models-v3 Show documentation
Show all versions of models-v3 Show documentation
Java classes corresponding to the JSON bodies
package com.unblu.webapi.model.v3;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "type", visible = true)
@JsonSubTypes({
@JsonSubTypes.Type(value = EmptyChatSuggestionResponse.class, name = "EMPTY"),
@JsonSubTypes.Type(value = TextChatSuggestionResponse.class, name = "TEXT"),
})
public interface ChatSuggestionResponse {
void setType(EChatSuggestionResponseType type);
EChatSuggestionResponseType getType();
ChatSuggestionResponse type(EChatSuggestionResponseType type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy