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

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

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

public class ListResponseMessageBuilder {
    private java.lang.String title;
    private it.auties.whatsapp.model.message.button.ListResponseMessage.Type listType;
    private it.auties.whatsapp.model.button.base.SingleSelectReplyButton reply;
    private it.auties.whatsapp.model.info.ContextInfo contextInfo;
    private java.lang.String description;

    public ListResponseMessageBuilder() {
        title = null;
        listType = null;
        reply = null;
        contextInfo = null;
        description = null;
    }

    public ListResponseMessageBuilder title(java.lang.String title) {
        this.title = title;
        return this;
    }

    public ListResponseMessageBuilder listType(it.auties.whatsapp.model.message.button.ListResponseMessage.Type listType) {
        this.listType = listType;
        return this;
    }

    public ListResponseMessageBuilder reply(it.auties.whatsapp.model.button.base.SingleSelectReplyButton reply) {
        this.reply = reply;
        return this;
    }

    public ListResponseMessageBuilder contextInfo(it.auties.whatsapp.model.info.ContextInfo contextInfo) {
        this.contextInfo = contextInfo;
        return this;
    }

    public ListResponseMessageBuilder description(java.lang.String description) {
        this.description = description;
        return this;
    }

    public it.auties.whatsapp.model.message.button.ListResponseMessage build() {
        return new it.auties.whatsapp.model.message.button.ListResponseMessage(title, listType, reply, contextInfo, description);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy