com.sinch.sdk.domains.conversation.templates.models.v2.TemplateTranslation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.conversation.templates.models.v2;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sinch.sdk.domains.conversation.models.v1.messages.AppMessageBody;
/** Message to be injected */
@JsonDeserialize(builder = TemplateTranslationImpl.Builder.class)
public interface TemplateTranslation extends TemplateTranslationBase {
/**
* Get translation message
*
* @return Body message
*/
AppMessageBody getMessage();
/**
* Getting builder
*
* @return New Builder instance
*/
@SuppressWarnings("rawtypes")
static Builder> builder() {
return new TemplateTranslationImpl.Builder();
}
static TemplateTranslation from(TemplateTranslationBase from) {
return new TemplateTranslationImpl(from);
}
/** Dedicated Builder */
interface Builder> extends TemplateTranslationBase.Builder {
/**
* see getter
*
* @param message see getter
* @return Current builder
* @see #getMessage()
*/
B setMessage(AppMessageBody message);
/**
* Create instance
*
* @return The instance build with current builder values
*/
TemplateTranslation build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy