io.github.apkcloud.devicedetector.entity.Bot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DeviceDetector Show documentation
Show all versions of DeviceDetector Show documentation
通用设备检测库将解析任何UserAgent并检测浏览器、操作系统、使用的设备(桌面、平板、移动、电视、车载、游戏机等等)、品牌和型号。
package io.github.apkcloud.devicedetector.entity;
import java.util.Map;
public class Bot {
private String regex;
private String name;
private String category;
private String url;
private Map producer;
public String getRegex() {
return regex;
}
public void setRegex(String regex) {
this.regex = regex;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Map getProducer() {
return producer;
}
public void setProducer(Map producer) {
this.producer = producer;
}
@Override
public String toString() {
return "Bot{" +
"regex='" + regex + '\'' +
", name='" + name + '\'' +
", category='" + category + '\'' +
", url='" + url + '\'' +
", producer=" + producer +
'}';
}
}