it.auties.whatsapp.model.chat.GroupPastParticipantsBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.chat;
public class GroupPastParticipantsBuilder {
private it.auties.whatsapp.model.jid.Jid groupJid;
private java.util.List pastParticipants;
public GroupPastParticipantsBuilder() {
groupJid = null;
pastParticipants = new java.util.ArrayList();
}
public GroupPastParticipantsBuilder groupJid(it.auties.whatsapp.model.jid.Jid groupJid) {
this.groupJid = groupJid;
return this;
}
public GroupPastParticipantsBuilder pastParticipants(java.util.List pastParticipants) {
this.pastParticipants = pastParticipants;
return this;
}
public it.auties.whatsapp.model.chat.GroupPastParticipants build() {
return new it.auties.whatsapp.model.chat.GroupPastParticipants(groupJid, pastParticipants);
}
}