it.auties.whatsapp.model.action.QuickReplyActionBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.action;
public class QuickReplyActionBuilder {
private java.lang.String shortcut;
private java.lang.String message;
private java.util.List keywords;
private int count;
private boolean deleted;
public QuickReplyActionBuilder() {
shortcut = null;
message = null;
keywords = it.auties.protobuf.builtin.ProtobufRepeatedMixin.newList();
count = 0;
deleted = false;
}
public QuickReplyActionBuilder shortcut(java.lang.String shortcut) {
this.shortcut = shortcut;
return this;
}
public QuickReplyActionBuilder message(java.lang.String message) {
this.message = message;
return this;
}
public QuickReplyActionBuilder keywords(java.util.List keywords) {
this.keywords = keywords;
return this;
}
public QuickReplyActionBuilder count(int count) {
this.count = count;
return this;
}
public QuickReplyActionBuilder deleted(boolean deleted) {
this.deleted = deleted;
return this;
}
public it.auties.whatsapp.model.action.QuickReplyAction build() {
return new it.auties.whatsapp.model.action.QuickReplyAction(shortcut, message, keywords, count, deleted);
}
}