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

io.castle.client.model.CastleNetwork Maven / Gradle / Ivy

Go to download

Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users on potential account hijacks.

There is a newer version: 2.4.2
Show newest version
package io.castle.client.model;

public class CastleNetwork {
    private boolean bluetooth;
    private boolean cellular;
    private String carrier;
    private boolean wifi;

    public boolean isBluetooth() {
        return bluetooth;
    }

    public void setBluetooth(boolean bluetooth) {
        this.bluetooth = bluetooth;
    }

    public boolean isCellular() {
        return cellular;
    }

    public void setCellular(boolean cellular) {
        this.cellular = cellular;
    }

    public String getCarrier() {
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }

    public boolean isWifi() {
        return wifi;
    }

    public void setWifi(boolean wifi) {
        this.wifi = wifi;
    }

    @Override
    public String toString() {
        return "CastleNetwork{" +
                "bluetooth=" + bluetooth +
                ", cellular=" + cellular +
                ", carrier='" + carrier + '\'' +
                ", wifi=" + wifi +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy