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

it.auties.whatsapp.model.signal.auth.UserAgentBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.signal.auth;

public class UserAgentBuilder {
    private it.auties.whatsapp.model.signal.auth.UserAgent.PlatformType platform;
    private it.auties.whatsapp.model.signal.auth.Version appVersion;
    private java.lang.String mcc;
    private java.lang.String mnc;
    private java.lang.String osVersion;
    private java.lang.String manufacturer;
    private java.lang.String device;
    private java.lang.String osBuildNumber;
    private java.lang.String phoneId;
    private it.auties.whatsapp.model.signal.auth.UserAgent.ReleaseChannel releaseChannel;
    private java.lang.String localeLanguageIso6391;
    private java.lang.String localeCountryIso31661Alpha2;
    private java.lang.String deviceBoard;

    public UserAgentBuilder() {
        platform = null;
        appVersion = null;
        mcc = null;
        mnc = null;
        osVersion = null;
        manufacturer = null;
        device = null;
        osBuildNumber = null;
        phoneId = null;
        releaseChannel = null;
        localeLanguageIso6391 = null;
        localeCountryIso31661Alpha2 = null;
        deviceBoard = null;
    }

    public UserAgentBuilder platform(it.auties.whatsapp.model.signal.auth.UserAgent.PlatformType platform) {
        this.platform = platform;
        return this;
    }
    public UserAgentBuilder appVersion(it.auties.whatsapp.model.signal.auth.Version appVersion) {
        this.appVersion = appVersion;
        return this;
    }
    public UserAgentBuilder mcc(java.lang.String mcc) {
        this.mcc = mcc;
        return this;
    }
    public UserAgentBuilder mnc(java.lang.String mnc) {
        this.mnc = mnc;
        return this;
    }
    public UserAgentBuilder osVersion(java.lang.String osVersion) {
        this.osVersion = osVersion;
        return this;
    }
    public UserAgentBuilder manufacturer(java.lang.String manufacturer) {
        this.manufacturer = manufacturer;
        return this;
    }
    public UserAgentBuilder device(java.lang.String device) {
        this.device = device;
        return this;
    }
    public UserAgentBuilder osBuildNumber(java.lang.String osBuildNumber) {
        this.osBuildNumber = osBuildNumber;
        return this;
    }
    public UserAgentBuilder phoneId(java.lang.String phoneId) {
        this.phoneId = phoneId;
        return this;
    }
    public UserAgentBuilder releaseChannel(it.auties.whatsapp.model.signal.auth.UserAgent.ReleaseChannel releaseChannel) {
        this.releaseChannel = releaseChannel;
        return this;
    }
    public UserAgentBuilder localeLanguageIso6391(java.lang.String localeLanguageIso6391) {
        this.localeLanguageIso6391 = localeLanguageIso6391;
        return this;
    }
    public UserAgentBuilder localeCountryIso31661Alpha2(java.lang.String localeCountryIso31661Alpha2) {
        this.localeCountryIso31661Alpha2 = localeCountryIso31661Alpha2;
        return this;
    }
    public UserAgentBuilder deviceBoard(java.lang.String deviceBoard) {
        this.deviceBoard = deviceBoard;
        return this;
    }

    public it.auties.whatsapp.model.signal.auth.UserAgent build() {
        return new it.auties.whatsapp.model.signal.auth.UserAgent(platform, appVersion, mcc, mnc, osVersion, manufacturer, device, osBuildNumber, phoneId, releaseChannel, localeLanguageIso6391, localeCountryIso31661Alpha2, deviceBoard);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy