io.castle.client.model.CastleNetwork Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of castle-java Show documentation
Show all versions of castle-java Show documentation
Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users
on potential account hijacks.
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