it.auties.whatsapp.model.info.WebNotificationsInfoBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.info;
public class WebNotificationsInfoBuilder {
private long timestampSeconds;
private int unreadChats;
private int notifyMessageCount;
private java.util.List notifyMessages;
public WebNotificationsInfoBuilder() {
timestampSeconds = 0l;
unreadChats = 0;
notifyMessageCount = 0;
notifyMessages = new java.util.ArrayList();
}
public WebNotificationsInfoBuilder timestampSeconds(long timestampSeconds) {
this.timestampSeconds = timestampSeconds;
return this;
}
public WebNotificationsInfoBuilder unreadChats(int unreadChats) {
this.unreadChats = unreadChats;
return this;
}
public WebNotificationsInfoBuilder notifyMessageCount(int notifyMessageCount) {
this.notifyMessageCount = notifyMessageCount;
return this;
}
public WebNotificationsInfoBuilder notifyMessages(java.util.List notifyMessages) {
this.notifyMessages = notifyMessages;
return this;
}
public it.auties.whatsapp.model.info.WebNotificationsInfo build() {
return new it.auties.whatsapp.model.info.WebNotificationsInfo(timestampSeconds, unreadChats, notifyMessageCount, notifyMessages);
}
}