it.auties.whatsapp.model.button.base.ButtonSectionBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.button.base;
public class ButtonSectionBuilder {
private java.lang.String title;
private java.util.List rows;
public ButtonSectionBuilder() {
title = null;
rows = it.auties.protobuf.builtin.ProtobufRepeatedMixin.newList();
}
public ButtonSectionBuilder title(java.lang.String title) {
this.title = title;
return this;
}
public ButtonSectionBuilder rows(java.util.List rows) {
this.rows = rows;
return this;
}
public it.auties.whatsapp.model.button.base.ButtonSection build() {
return new it.auties.whatsapp.model.button.base.ButtonSection(title, rows);
}
}