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

it.auties.whatsapp.model.companion.CompanionDeviceBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.companion;

public class CompanionDeviceBuilder {
    private java.lang.String model;
    private java.lang.String manufacturer;
    private it.auties.whatsapp.model.signal.auth.UserAgent.PlatformType platform;
    private java.lang.String version;

    public CompanionDeviceBuilder() {
        model = null;
        manufacturer = null;
        platform = null;
        version = null;
    }

    public CompanionDeviceBuilder model(java.lang.String model) {
        this.model = model;
        return this;
    }
    public CompanionDeviceBuilder manufacturer(java.lang.String manufacturer) {
        this.manufacturer = manufacturer;
        return this;
    }
    public CompanionDeviceBuilder platform(it.auties.whatsapp.model.signal.auth.UserAgent.PlatformType platform) {
        this.platform = platform;
        return this;
    }
    public CompanionDeviceBuilder version(java.lang.String version) {
        this.version = version;
        return this;
    }

    public it.auties.whatsapp.model.companion.CompanionDevice build() {
        return new it.auties.whatsapp.model.companion.CompanionDevice(model, manufacturer, platform, version);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy