All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.message.button.ButtonsResponseMessageBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.message.button;

public class ButtonsResponseMessageBuilder {
    private java.lang.String buttonId;
    private java.lang.String buttonText;
    private it.auties.whatsapp.model.info.ContextInfo contextInfo;
    private it.auties.whatsapp.model.message.button.ButtonsResponseMessage.ResponseType responseType;

    public ButtonsResponseMessageBuilder() {
        buttonId = null;
        buttonText = null;
        contextInfo = null;
        responseType = null;
    }

    public ButtonsResponseMessageBuilder buttonId(java.lang.String buttonId) {
        this.buttonId = buttonId;
        return this;
    }
    public ButtonsResponseMessageBuilder buttonText(java.lang.String buttonText) {
        this.buttonText = buttonText;
        return this;
    }
    public ButtonsResponseMessageBuilder contextInfo(it.auties.whatsapp.model.info.ContextInfo contextInfo) {
        this.contextInfo = contextInfo;
        return this;
    }
    public ButtonsResponseMessageBuilder responseType(it.auties.whatsapp.model.message.button.ButtonsResponseMessage.ResponseType responseType) {
        this.responseType = responseType;
        return this;
    }

    public it.auties.whatsapp.model.message.button.ButtonsResponseMessage build() {
        return new it.auties.whatsapp.model.message.button.ButtonsResponseMessage(buttonId, buttonText, contextInfo, responseType);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy