All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.action.MuteActionBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.action;

public class MuteActionBuilder {
    private boolean muted;
    private java.util.OptionalLong muteEndTimestampSeconds;
    private boolean autoMuted;

    public MuteActionBuilder() {
        muted = false;
        muteEndTimestampSeconds = it.auties.protobuf.builtin.ProtobufOptionalMixin.newOptionalLong();
        autoMuted = false;
    }

    public MuteActionBuilder muted(boolean muted) {
        this.muted = muted;
        return this;
    }

    public MuteActionBuilder muteEndTimestampSeconds(java.lang.Long muteEndTimestampSeconds) {
        this.muteEndTimestampSeconds = it.auties.protobuf.builtin.ProtobufOptionalMixin.ofOptional(muteEndTimestampSeconds);
        return this;
    }

    public MuteActionBuilder autoMuted(boolean autoMuted) {
        this.autoMuted = autoMuted;
        return this;
    }

    public it.auties.whatsapp.model.action.MuteAction build() {
        return new it.auties.whatsapp.model.action.MuteAction(muted, muteEndTimestampSeconds, autoMuted);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy