com.sap.cloud.sdk.services.recastai.userrequest.Message Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recast-ai Show documentation
Show all versions of recast-ai Show documentation
Integration of SAP Conversational AI, aka Recast AI
(Beta release, still subject to change - up to discontinuation of module).
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.services.recastai.userrequest;
import javax.annotation.Nullable;
import com.google.common.annotations.Beta;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import lombok.NoArgsConstructor;
/**
* This object represents the reaction of a chatbot and the responds the chatbot sents back.
*/
@Beta
@NoArgsConstructor
public class Message
{
@SerializedName( "type" )
@Expose
private String type;
@SerializedName( "content" )
@Expose
private String content;
/**
* This method returns the type of the message
*
* @return A String with the type as specified by Recast Ai
*/
@Nullable
public String getType()
{
return type;
}
/**
* Returns the content of the message
*
* @return the content as a string
*/
@Nullable
public String getContent()
{
return content;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy