it.auties.whatsapp.model.newsletter.NewsletterNameBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.newsletter;
public class NewsletterNameBuilder {
private java.lang.String id;
private java.lang.String text;
private long updateTimeSeconds;
public NewsletterNameBuilder() {
id = null;
text = null;
updateTimeSeconds = 0l;
}
public NewsletterNameBuilder id(java.lang.String id) {
this.id = id;
return this;
}
public NewsletterNameBuilder text(java.lang.String text) {
this.text = text;
return this;
}
public NewsletterNameBuilder updateTimeSeconds(long updateTimeSeconds) {
this.updateTimeSeconds = updateTimeSeconds;
return this;
}
public it.auties.whatsapp.model.newsletter.NewsletterName build() {
return new it.auties.whatsapp.model.newsletter.NewsletterName(id, text, updateTimeSeconds);
}
}