Initial commit: reorganized source tree

- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
This commit is contained in:
hpd840321
2026-05-09 09:00:12 +08:00
commit 7b2bd307f1
7260 changed files with 612980 additions and 0 deletions
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.cloudwalk</groupId>
<artifactId>cloudwalk-device-sdk</artifactId>
<version>2.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>cloudwalk-device-sdk-protocol-entity</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,28 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.base;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceV2CommonBaseDTO implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
}
@@ -0,0 +1,54 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.common.enums;
public enum DeviceSettingTypeAttrEnum {
QUALITY_SCORE("qualityScore", "人脸抓拍质量分"),
TEMP_THRESHOLD("tempThreshold", "温度报警阈值"),
TEMP_MIN("tempMin", "温度最低值"),
MASK_THRESHOLD("maskThreshold", "口罩阈值"),
LIVE_STATE("liveState", "活体检测开关"),
TEMP_STATE("tempState", "温度控制开关"),
FACE_SIZE_MIN("faceSizeMin", "人脸最小尺寸"),
FACE_SIZE_MAX("faceSizeMax", "人脸最大尺寸"),
FACE_ONE_THRESHOLD("faceOneThreshold", "人脸1:1识别阈值"),
FACE_MANY_THRESHOLD("faceManyThreshold", "人脸1:N识别阈值"),
OPEN_DOOR_STATE("openDoor", "超过温度阈值后是否开门"),
FACE_WIDTH("faceWidth", "人脸宽度"),
FACE_HEIGHT("faceHeight", "人脸高度"),
TEMP_IP("tempIp", "测温仪ip"),
DEVICE_SETTING("deviceSetting", "测温一体机设备设置参数"),
TEMP_SETTING("tempSetting", "测温一体机温度设置参数"),
PANORAMA_STATE("PanoramaState", "保存全景图开关");
String attrDisplay;
String attrMessage;
DeviceSettingTypeAttrEnum(String attrDisplay, String attrMessage) {
this.attrDisplay = attrDisplay;
this.attrMessage = attrMessage;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public String getAttrMessage() {
return this.attrMessage;
}
}
@@ -0,0 +1,24 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.common.enums;
public enum NoticeGroupOrderEnum {
DELETE_GROUP(Integer.valueOf(1), "1:删除库(删除库并清空人员)"),
CLEAR_PERSON(Integer.valueOf(2), "2:清空人员");
private Integer orderType;
private String orderMessage;
NoticeGroupOrderEnum(Integer orderType, String orderMessage) {
this.orderType = orderType;
this.orderMessage = orderMessage;
}
public Integer getOrderType() {
return this.orderType;
}
public String getOrderMessage() {
return this.orderMessage;
}
}
@@ -0,0 +1,502 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
public class BodyAttrsData {
@JsonProperty("age_up_limit")
@JSONField(name = "age_up_limit")
private ValueScoreData ageUpLimit;
@JsonProperty("age_lower_limit")
@JSONField(name = "age_lower_limit")
private ValueScoreData ageLowerLimit;
@JsonProperty("age")
@JSONField(name = "age")
private ValueScoreData age;
@JsonProperty("height_up_limit")
@JSONField(name = "height_up_limit")
private ValueScoreData heightUpLimit;
@JsonProperty("height_lower_limit")
@JSONField(name = "height_lower_limit")
private ValueScoreData heightLowerLimit;
@JsonProperty("coat_texture")
@JSONField(name = "coat_texture")
private ValueScoreData coatTexture;
@JsonProperty("coat_style")
@JSONField(name = "coat_style")
private ValueScoreData coatStyle;
@JsonProperty("coat_color")
@JSONField(name = "coat_color")
private ValueScoreData coatColor;
@JsonProperty("trousers_style")
@JSONField(name = "trousers_style")
private ValueScoreData trousersStyle;
@JsonProperty("trousers_color")
@JSONField(name = "trousers_color")
private ValueScoreData trousersColor;
@JsonProperty("skin_color")
@JSONField(name = "skin_color")
private ValueScoreData skinColor;
@JsonProperty("hair_style")
@JSONField(name = "hair_style")
private ValueScoreData hairStyle;
@JsonProperty("hair_color")
@JSONField(name = "hair_color")
private ValueScoreData hairColor;
@JsonProperty("gesture")
@JSONField(name = "gesture")
private ValueScoreData gesture;
@JsonProperty("status")
@JSONField(name = "status")
private ValueScoreData status;
@JsonProperty("facial_feature")
@JSONField(name = "facial_feature")
private ValueScoreData facialFeature;
@JsonProperty("physical_feature")
@JSONField(name = "physical_feature")
private ValueScoreData physicalFeature;
@JsonProperty("body_feature")
@JSONField(name = "body_feature")
private ValueScoreData bodyFeature;
@JsonProperty("habitual_movement")
@JSONField(name = "habitual_movement")
private ValueScoreData habitualMovement;
@JsonProperty("behavior")
@JSONField(name = "behavior")
private ValueScoreData behavior;
@JsonProperty("appendant_phone")
@JSONField(name = "appendant_phone")
private ValueScoreData appendantPhone;
@JsonProperty("appendant_umbrella")
@JSONField(name = "appendant_umbrella")
private ValueScoreData appendantUmbrella;
@JsonProperty("appendant_mask")
@JSONField(name = "appendant_mask")
private ValueScoreData appendantMask;
@JsonProperty("appendant_watch")
@JSONField(name = "appendant_watch")
private ValueScoreData appendantWatch;
@JsonProperty("appendant_glasses")
@JSONField(name = "appendant_glasses")
private ValueScoreData appendantGlasses;
@JsonProperty("appendant_cap")
@JSONField(name = "appendant_cap")
private ValueScoreData appendantCap;
@JsonProperty("appendant_pack")
@JSONField(name = "appendant_pack")
private ValueScoreData appendantPack;
@JsonProperty("appendant_scarf")
@JSONField(name = "appendant_scarf")
private ValueScoreData appendantScarf;
@JsonProperty("appendant_other")
@JSONField(name = "appendant_other")
private ValueScoreData appendantOther;
@JsonProperty("glass_style")
@JSONField(name = "glass_style")
private ValueScoreData glassStyle;
@JsonProperty("glass_color")
@JSONField(name = "glass_color")
private ValueScoreData glassColor;
@JsonProperty("scarf_color")
@JSONField(name = "scarf_color")
private ValueScoreData scarfColor;
@JsonProperty("shoes_style")
@JSONField(name = "shoes_style")
private ValueScoreData shoesStyle;
@JsonProperty("body_type")
@JSONField(name = "body_type")
private ValueScoreData bodyType;
@JsonProperty("bag_style")
@JSONField(name = "bag_style")
private ValueScoreData bagStyle;
@JsonProperty("frontpack_style")
@JSONField(name = "frontpack_style")
private ValueScoreData frontpackStyle;
@JsonProperty("carry")
@JSONField(name = "carry")
private ValueScoreData carry;
@JsonProperty("umbrella")
@JSONField(name = "umbrella")
private ValueScoreData umbrella;
@JsonProperty("umbrella_color")
@JSONField(name = "umbrella_color")
private ValueScoreData umbrella_color;
@JsonProperty("move_direction")
@JSONField(name = "move_direction")
private ValueScoreData moveDirection;
@JsonProperty("move_speed")
@JSONField(name = "move_speed")
private ValueScoreData moveSpeed;
@JsonProperty("is_driver")
@JSONField(name = "is_driver")
private ValueScoreData isDriver;
@JsonProperty("is_deputy_driver")
@JSONField(name = "is_deputy_driver")
private ValueScoreData isDeputyDriver;
@JsonProperty("barrow")
@JSONField(name = "barrow")
private ValueScoreData barrow;
@JsonProperty("have_baby")
@JSONField(name = "have_baby")
private ValueScoreData haveBaby;
public ValueScoreData getAgeUpLimit() {
return this.ageUpLimit;
}
public void setAgeUpLimit(ValueScoreData ageUpLimit) {
this.ageUpLimit = ageUpLimit;
}
public ValueScoreData getAgeLowerLimit() {
return this.ageLowerLimit;
}
public void setAgeLowerLimit(ValueScoreData ageLowerLimit) {
this.ageLowerLimit = ageLowerLimit;
}
public ValueScoreData getAge() {
return this.age;
}
public void setAge(ValueScoreData age) {
this.age = age;
}
public ValueScoreData getHeightUpLimit() {
return this.heightUpLimit;
}
public void setHeightUpLimit(ValueScoreData heightUpLimit) {
this.heightUpLimit = heightUpLimit;
}
public ValueScoreData getHeightLowerLimit() {
return this.heightLowerLimit;
}
public void setHeightLowerLimit(ValueScoreData heightLowerLimit) {
this.heightLowerLimit = heightLowerLimit;
}
public ValueScoreData getCoatTexture() {
return this.coatTexture;
}
public void setCoatTexture(ValueScoreData coatTexture) {
this.coatTexture = coatTexture;
}
public ValueScoreData getCoatStyle() {
return this.coatStyle;
}
public void setCoatStyle(ValueScoreData coatStyle) {
this.coatStyle = coatStyle;
}
public ValueScoreData getCoatColor() {
return this.coatColor;
}
public void setCoatColor(ValueScoreData coatColor) {
this.coatColor = coatColor;
}
public ValueScoreData getTrousersStyle() {
return this.trousersStyle;
}
public void setTrousersStyle(ValueScoreData trousersStyle) {
this.trousersStyle = trousersStyle;
}
public ValueScoreData getTrousersColor() {
return this.trousersColor;
}
public void setTrousersColor(ValueScoreData trousersColor) {
this.trousersColor = trousersColor;
}
public ValueScoreData getSkinColor() {
return this.skinColor;
}
public void setSkinColor(ValueScoreData skinColor) {
this.skinColor = skinColor;
}
public ValueScoreData getHairStyle() {
return this.hairStyle;
}
public void setHairStyle(ValueScoreData hairStyle) {
this.hairStyle = hairStyle;
}
public ValueScoreData getHairColor() {
return this.hairColor;
}
public void setHairColor(ValueScoreData hairColor) {
this.hairColor = hairColor;
}
public ValueScoreData getGesture() {
return this.gesture;
}
public void setGesture(ValueScoreData gesture) {
this.gesture = gesture;
}
public ValueScoreData getStatus() {
return this.status;
}
public void setStatus(ValueScoreData status) {
this.status = status;
}
public ValueScoreData getFacialFeature() {
return this.facialFeature;
}
public void setFacialFeature(ValueScoreData facialFeature) {
this.facialFeature = facialFeature;
}
public ValueScoreData getPhysicalFeature() {
return this.physicalFeature;
}
public void setPhysicalFeature(ValueScoreData physicalFeature) {
this.physicalFeature = physicalFeature;
}
public ValueScoreData getBodyFeature() {
return this.bodyFeature;
}
public void setBodyFeature(ValueScoreData bodyFeature) {
this.bodyFeature = bodyFeature;
}
public ValueScoreData getHabitualMovement() {
return this.habitualMovement;
}
public void setHabitualMovement(ValueScoreData habitualMovement) {
this.habitualMovement = habitualMovement;
}
public ValueScoreData getBehavior() {
return this.behavior;
}
public void setBehavior(ValueScoreData behavior) {
this.behavior = behavior;
}
public ValueScoreData getAppendantPhone() {
return this.appendantPhone;
}
public void setAppendantPhone(ValueScoreData appendantPhone) {
this.appendantPhone = appendantPhone;
}
public ValueScoreData getAppendantUmbrella() {
return this.appendantUmbrella;
}
public void setAppendantUmbrella(ValueScoreData appendantUmbrella) {
this.appendantUmbrella = appendantUmbrella;
}
public ValueScoreData getAppendantMask() {
return this.appendantMask;
}
public void setAppendantMask(ValueScoreData appendantMask) {
this.appendantMask = appendantMask;
}
public ValueScoreData getAppendantWatch() {
return this.appendantWatch;
}
public void setAppendantWatch(ValueScoreData appendantWatch) {
this.appendantWatch = appendantWatch;
}
public ValueScoreData getAppendantGlasses() {
return this.appendantGlasses;
}
public void setAppendantGlasses(ValueScoreData appendantGlasses) {
this.appendantGlasses = appendantGlasses;
}
public ValueScoreData getAppendantCap() {
return this.appendantCap;
}
public void setAppendantCap(ValueScoreData appendantCap) {
this.appendantCap = appendantCap;
}
public ValueScoreData getAppendantPack() {
return this.appendantPack;
}
public void setAppendantPack(ValueScoreData appendantPack) {
this.appendantPack = appendantPack;
}
public ValueScoreData getAppendantScarf() {
return this.appendantScarf;
}
public void setAppendantScarf(ValueScoreData appendantScarf) {
this.appendantScarf = appendantScarf;
}
public ValueScoreData getAppendantOther() {
return this.appendantOther;
}
public void setAppendantOther(ValueScoreData appendantOther) {
this.appendantOther = appendantOther;
}
public ValueScoreData getGlassStyle() {
return this.glassStyle;
}
public void setGlassStyle(ValueScoreData glassStyle) {
this.glassStyle = glassStyle;
}
public ValueScoreData getGlassColor() {
return this.glassColor;
}
public void setGlassColor(ValueScoreData glassColor) {
this.glassColor = glassColor;
}
public ValueScoreData getScarfColor() {
return this.scarfColor;
}
public void setScarfColor(ValueScoreData scarfColor) {
this.scarfColor = scarfColor;
}
public ValueScoreData getShoesStyle() {
return this.shoesStyle;
}
public void setShoesStyle(ValueScoreData shoesStyle) {
this.shoesStyle = shoesStyle;
}
public ValueScoreData getBodyType() {
return this.bodyType;
}
public void setBodyType(ValueScoreData bodyType) {
this.bodyType = bodyType;
}
public ValueScoreData getBagStyle() {
return this.bagStyle;
}
public void setBagStyle(ValueScoreData bagStyle) {
this.bagStyle = bagStyle;
}
public ValueScoreData getFrontpackStyle() {
return this.frontpackStyle;
}
public void setFrontpackStyle(ValueScoreData frontpackStyle) {
this.frontpackStyle = frontpackStyle;
}
public ValueScoreData getCarry() {
return this.carry;
}
public void setCarry(ValueScoreData carry) {
this.carry = carry;
}
public ValueScoreData getUmbrella() {
return this.umbrella;
}
public void setUmbrella(ValueScoreData umbrella) {
this.umbrella = umbrella;
}
public ValueScoreData getUmbrella_color() {
return this.umbrella_color;
}
public void setUmbrella_color(ValueScoreData umbrella_color) {
this.umbrella_color = umbrella_color;
}
public ValueScoreData getMoveDirection() {
return this.moveDirection;
}
public void setMoveDirection(ValueScoreData moveDirection) {
this.moveDirection = moveDirection;
}
public ValueScoreData getMoveSpeed() {
return this.moveSpeed;
}
public void setMoveSpeed(ValueScoreData moveSpeed) {
this.moveSpeed = moveSpeed;
}
public ValueScoreData getIsDriver() {
return this.isDriver;
}
public void setIsDriver(ValueScoreData isDriver) {
this.isDriver = isDriver;
}
public ValueScoreData getIsDeputyDriver() {
return this.isDeputyDriver;
}
public void setIsDeputyDriver(ValueScoreData isDeputyDriver) {
this.isDeputyDriver = isDeputyDriver;
}
public ValueScoreData getBarrow() {
return this.barrow;
}
public void setBarrow(ValueScoreData barrow) {
this.barrow = barrow;
}
public ValueScoreData getHaveBaby() {
return this.haveBaby;
}
public void setHaveBaby(ValueScoreData haveBaby) {
this.haveBaby = haveBaby;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
public class BodyQualityData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001035")
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private BigDecimal qualityScore;
public BigDecimal getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(BigDecimal qualityScore) {
this.qualityScore = qualityScore;
}
}
@@ -0,0 +1,40 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
public class BoxData {
private Integer x;
private Integer y;
private Integer width;
private Integer height;
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
}
@@ -0,0 +1,462 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class FaceAttrData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("age_up_limit")
@JSONField(name = "age_up_limit")
private ValueScoreData ageUpLimit;
@JsonProperty("age_lower_limit")
@JSONField(name = "age_lower_limit")
private ValueScoreData ageLowerLimit;
@JsonProperty("age")
@JSONField(name = "age")
private ValueScoreData age;
@JsonProperty("gender_code")
@JSONField(name = "gender_code")
private ValueScoreData genderCode;
@JsonProperty("skin_color")
@JSONField(name = "skin_color")
private ValueScoreData skinColor;
@JsonProperty("hair_style")
@JSONField(name = "hair_style")
private ValueScoreData hairStyle;
@JsonProperty("hair_color")
@JSONField(name = "hair_color")
private ValueScoreData hairColor;
@JsonProperty("face_style")
@JSONField(name = "face_style")
private ValueScoreData faceStyle;
@JsonProperty("respirator")
@JSONField(name = "respirator")
private ValueScoreData respirator;
@JsonProperty("respirator_color")
@JSONField(name = "respirator_color")
private ValueScoreData respiratorColor;
@JsonProperty("cap_style")
@JSONField(name = "cap_style")
private ValueScoreData capStyle;
@JsonProperty("cap_color")
@JSONField(name = "cap_color")
private ValueScoreData capColor;
@JsonProperty("appendant_cap")
@JSONField(name = "appendant_cap")
private ValueScoreData appendantCap;
@JsonProperty("appendant_helmet")
@JSONField(name = "appendant_helmet")
private ValueScoreData appendantHelmet;
@JsonProperty("nation")
@JSONField(name = "nation")
private ValueScoreData nation;
@JsonProperty("race")
@JSONField(name = "race")
private ValueScoreData race;
@JsonProperty("lights_score")
@JSONField(name = "lights_score")
private ValueScoreData lightsScore;
@JsonProperty("clarity_score")
@JSONField(name = "clarity_score")
private ValueScoreData clarityScore;
@JsonProperty("mouth_score")
@JSONField(name = "mouth_score")
private ValueScoreData mouthScore;
@JsonProperty("face_clarity_score")
@JSONField(name = "face_clarity_score")
private ValueScoreData faceClarityScore;
@JsonProperty("pitch")
@JSONField(name = "pitch")
private ValueScoreData pitch;
@JsonProperty("yaw")
@JSONField(name = "yaw")
private ValueScoreData yaw;
@JsonProperty("roll")
@JSONField(name = "roll")
private ValueScoreData roll;
@JsonProperty("print_face_score")
@JSONField(name = "print_face_score")
private ValueScoreData printFaceScore;
@JsonProperty("glasses_style")
@JSONField(name = "glasses_style")
private ValueScoreData glassesStyle;
@JsonProperty("glasses_color")
@JSONField(name = "glasses_color")
private ValueScoreData glassesColor;
@JsonProperty("expression")
@JSONField(name = "expression")
private ValueScoreData expression;
@JsonProperty("attitude")
@JSONField(name = "attitude")
private ValueScoreData attitude;
@JsonProperty("rye_brow_style")
@JSONField(name = "rye_brow_style")
private ValueScoreData ryeBrowStyle;
@JsonProperty("nose_style")
@JSONField(name = "nose_style")
private ValueScoreData noseStyle;
@JsonProperty("has_beard")
@JSONField(name = "has_beard")
private ValueScoreData hasBeard;
@JsonProperty("musta_style")
@JSONField(name = "musta_style")
private ValueScoreData mustaStyle;
@JsonProperty("lip_style")
@JSONField(name = "lip_style")
private ValueScoreData lipStyle;
@JsonProperty("wrinkle_pouch")
@JSONField(name = "wrinkle_pouch")
private ValueScoreData wrinklePouch;
@JsonProperty("acne_stain")
@JSONField(name = "acne_stain")
private ValueScoreData acneStain;
@JsonProperty("freckle_birthmark")
@JSONField(name = "freckle_birthmark")
private ValueScoreData freckleBirthmark;
@JsonProperty("scar_dimple")
@JSONField(name = "scar_dimple")
private ValueScoreData scarDimple;
@JsonProperty("other_feature")
@JSONField(name = "other_feature")
private ValueScoreData otherFeature;
@JsonProperty("is_driver")
@JSONField(name = "is_driver")
private ValueScoreData isDriver;
@JsonProperty("is_deputy_driver")
@JSONField(name = "is_deputy_driver")
private ValueScoreData isDeputyDriver;
@JsonProperty("ethic_code")
@JSONField(name = "ethic_code")
private ValueScoreData ethicCode;
public ValueScoreData getHairColor() {
return this.hairColor;
}
public void setHairColor(ValueScoreData hairColor) {
this.hairColor = hairColor;
}
public ValueScoreData getAgeUpLimit() {
return this.ageUpLimit;
}
public void setAgeUpLimit(ValueScoreData ageUpLimit) {
this.ageUpLimit = ageUpLimit;
}
public ValueScoreData getAgeLowerLimit() {
return this.ageLowerLimit;
}
public void setAgeLowerLimit(ValueScoreData ageLowerLimit) {
this.ageLowerLimit = ageLowerLimit;
}
public ValueScoreData getAge() {
return this.age;
}
public void setAge(ValueScoreData age) {
this.age = age;
}
public ValueScoreData getGenderCode() {
return this.genderCode;
}
public void setGenderCode(ValueScoreData genderCode) {
this.genderCode = genderCode;
}
public ValueScoreData getSkinColor() {
return this.skinColor;
}
public void setSkinColor(ValueScoreData skinColor) {
this.skinColor = skinColor;
}
public ValueScoreData getHairStyle() {
return this.hairStyle;
}
public void setHairStyle(ValueScoreData hairStyle) {
this.hairStyle = hairStyle;
}
public ValueScoreData getFaceStyle() {
return this.faceStyle;
}
public void setFaceStyle(ValueScoreData faceStyle) {
this.faceStyle = faceStyle;
}
public ValueScoreData getRespirator() {
return this.respirator;
}
public void setRespirator(ValueScoreData respirator) {
this.respirator = respirator;
}
public ValueScoreData getRespiratorColor() {
return this.respiratorColor;
}
public void setRespiratorColor(ValueScoreData respiratorColor) {
this.respiratorColor = respiratorColor;
}
public ValueScoreData getCapStyle() {
return this.capStyle;
}
public void setCapStyle(ValueScoreData capStyle) {
this.capStyle = capStyle;
}
public ValueScoreData getCapColor() {
return this.capColor;
}
public void setCapColor(ValueScoreData capColor) {
this.capColor = capColor;
}
public ValueScoreData getAppendantCap() {
return this.appendantCap;
}
public void setAppendantCap(ValueScoreData appendantCap) {
this.appendantCap = appendantCap;
}
public ValueScoreData getAppendantHelmet() {
return this.appendantHelmet;
}
public void setAppendantHelmet(ValueScoreData appendantHelmet) {
this.appendantHelmet = appendantHelmet;
}
public ValueScoreData getNation() {
return this.nation;
}
public void setNation(ValueScoreData nation) {
this.nation = nation;
}
public ValueScoreData getRace() {
return this.race;
}
public void setRace(ValueScoreData race) {
this.race = race;
}
public ValueScoreData getLightsScore() {
return this.lightsScore;
}
public void setLightsScore(ValueScoreData lightsScore) {
this.lightsScore = lightsScore;
}
public ValueScoreData getClarityScore() {
return this.clarityScore;
}
public void setClarityScore(ValueScoreData clarityScore) {
this.clarityScore = clarityScore;
}
public ValueScoreData getMouthScore() {
return this.mouthScore;
}
public void setMouthScore(ValueScoreData mouthScore) {
this.mouthScore = mouthScore;
}
public ValueScoreData getFaceClarityScore() {
return this.faceClarityScore;
}
public void setFaceClarityScore(ValueScoreData faceClarityScore) {
this.faceClarityScore = faceClarityScore;
}
public ValueScoreData getPitch() {
return this.pitch;
}
public void setPitch(ValueScoreData pitch) {
this.pitch = pitch;
}
public ValueScoreData getYaw() {
return this.yaw;
}
public void setYaw(ValueScoreData yaw) {
this.yaw = yaw;
}
public ValueScoreData getRoll() {
return this.roll;
}
public void setRoll(ValueScoreData roll) {
this.roll = roll;
}
public ValueScoreData getPrintFaceScore() {
return this.printFaceScore;
}
public void setPrintFaceScore(ValueScoreData printFaceScore) {
this.printFaceScore = printFaceScore;
}
public ValueScoreData getGlassesStyle() {
return this.glassesStyle;
}
public void setGlassesStyle(ValueScoreData glassesStyle) {
this.glassesStyle = glassesStyle;
}
public ValueScoreData getGlassesColor() {
return this.glassesColor;
}
public void setGlassesColor(ValueScoreData glassesColor) {
this.glassesColor = glassesColor;
}
public ValueScoreData getExpression() {
return this.expression;
}
public void setExpression(ValueScoreData expression) {
this.expression = expression;
}
public ValueScoreData getAttitude() {
return this.attitude;
}
public void setAttitude(ValueScoreData attitude) {
this.attitude = attitude;
}
public ValueScoreData getRyeBrowStyle() {
return this.ryeBrowStyle;
}
public void setRyeBrowStyle(ValueScoreData ryeBrowStyle) {
this.ryeBrowStyle = ryeBrowStyle;
}
public ValueScoreData getNoseStyle() {
return this.noseStyle;
}
public void setNoseStyle(ValueScoreData noseStyle) {
this.noseStyle = noseStyle;
}
public ValueScoreData getHasBeard() {
return this.hasBeard;
}
public void setHasBeard(ValueScoreData hasBeard) {
this.hasBeard = hasBeard;
}
public ValueScoreData getMustaStyle() {
return this.mustaStyle;
}
public void setMustaStyle(ValueScoreData mustaStyle) {
this.mustaStyle = mustaStyle;
}
public ValueScoreData getLipStyle() {
return this.lipStyle;
}
public void setLipStyle(ValueScoreData lipStyle) {
this.lipStyle = lipStyle;
}
public ValueScoreData getWrinklePouch() {
return this.wrinklePouch;
}
public void setWrinklePouch(ValueScoreData wrinklePouch) {
this.wrinklePouch = wrinklePouch;
}
public ValueScoreData getAcneStain() {
return this.acneStain;
}
public void setAcneStain(ValueScoreData acneStain) {
this.acneStain = acneStain;
}
public ValueScoreData getFreckleBirthmark() {
return this.freckleBirthmark;
}
public void setFreckleBirthmark(ValueScoreData freckleBirthmark) {
this.freckleBirthmark = freckleBirthmark;
}
public ValueScoreData getScarDimple() {
return this.scarDimple;
}
public void setScarDimple(ValueScoreData scarDimple) {
this.scarDimple = scarDimple;
}
public ValueScoreData getOtherFeature() {
return this.otherFeature;
}
public void setOtherFeature(ValueScoreData otherFeature) {
this.otherFeature = otherFeature;
}
public ValueScoreData getIsDriver() {
return this.isDriver;
}
public void setIsDriver(ValueScoreData isDriver) {
this.isDriver = isDriver;
}
public ValueScoreData getIsDeputyDriver() {
return this.isDeputyDriver;
}
public void setIsDeputyDriver(ValueScoreData isDeputyDriver) {
this.isDeputyDriver = isDeputyDriver;
}
public ValueScoreData getEthicCode() {
return this.ethicCode;
}
public void setEthicCode(ValueScoreData ethicCode) {
this.ethicCode = ethicCode;
}
}
@@ -0,0 +1,190 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
public class FaceQualityData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001035")
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private BigDecimal qualityScore;
@JsonProperty("clarity")
@JSONField(name = "clarity")
private BigDecimal clarity;
@JsonProperty("brightness")
@JSONField(name = "brightness")
private BigDecimal brightness;
@JsonProperty("yaw_score")
@JSONField(name = "yaw_score")
private BigDecimal yawScore;
@JsonProperty("pitch_score")
@JSONField(name = "pitch_score")
private BigDecimal pitchScore;
@JsonProperty("skin_score")
@JSONField(name = "skin_score")
private BigDecimal skinScore;
@JsonProperty("mouth_opening")
@JSONField(name = "mouth_opening")
private BigDecimal mouthOpening;
@JsonProperty("left_eye_opening")
@JSONField(name = "left_eye_opening")
private BigDecimal leftEyeOpening;
@JsonProperty("right_eye_opening")
@JSONField(name = "right_eye_opening")
private BigDecimal rightEyeOpening;
@JsonProperty("left_eye_occlusion_prob")
@JSONField(name = "left_eye_occlusion_prob")
private BigDecimal leftEyeOcclusionProb;
@JsonProperty("right_eye_occlusion_prob")
@JSONField(name = "right_eye_occlusion_prob")
private BigDecimal rightEyeOcclusionProb;
@JsonProperty("black_frame_glass_prob")
@JSONField(name = "black_frame_glass_prob")
private BigDecimal blackFrameGlassProb;
@JsonProperty("sunglass_prob")
@JSONField(name = "sunglass_prob")
private BigDecimal sunglassProb;
@JsonProperty("mog_clearness")
@JSONField(name = "mog_clearness")
private BigDecimal mogClearness;
@JsonProperty("temp_score")
@JSONField(name = "temp_score")
private BigDecimal tempScore;
@JsonProperty("mask_score")
@JSONField(name = "mask_score")
private BigDecimal maskScore;
public BigDecimal getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(BigDecimal qualityScore) {
this.qualityScore = qualityScore;
}
public BigDecimal getClarity() {
return this.clarity;
}
public void setClarity(BigDecimal clarity) {
this.clarity = clarity;
}
public BigDecimal getBrightness() {
return this.brightness;
}
public void setBrightness(BigDecimal brightness) {
this.brightness = brightness;
}
public BigDecimal getYawScore() {
return this.yawScore;
}
public void setYawScore(BigDecimal yawScore) {
this.yawScore = yawScore;
}
public BigDecimal getPitchScore() {
return this.pitchScore;
}
public void setPitchScore(BigDecimal pitchScore) {
this.pitchScore = pitchScore;
}
public BigDecimal getSkinScore() {
return this.skinScore;
}
public void setSkinScore(BigDecimal skinScore) {
this.skinScore = skinScore;
}
public BigDecimal getMouthOpening() {
return this.mouthOpening;
}
public void setMouthOpening(BigDecimal mouthOpening) {
this.mouthOpening = mouthOpening;
}
public BigDecimal getLeftEyeOpening() {
return this.leftEyeOpening;
}
public void setLeftEyeOpening(BigDecimal leftEyeOpening) {
this.leftEyeOpening = leftEyeOpening;
}
public BigDecimal getRightEyeOpening() {
return this.rightEyeOpening;
}
public void setRightEyeOpening(BigDecimal rightEyeOpening) {
this.rightEyeOpening = rightEyeOpening;
}
public BigDecimal getLeftEyeOcclusionProb() {
return this.leftEyeOcclusionProb;
}
public void setLeftEyeOcclusionProb(BigDecimal leftEyeOcclusionProb) {
this.leftEyeOcclusionProb = leftEyeOcclusionProb;
}
public BigDecimal getRightEyeOcclusionProb() {
return this.rightEyeOcclusionProb;
}
public void setRightEyeOcclusionProb(BigDecimal rightEyeOcclusionProb) {
this.rightEyeOcclusionProb = rightEyeOcclusionProb;
}
public BigDecimal getBlackFrameGlassProb() {
return this.blackFrameGlassProb;
}
public void setBlackFrameGlassProb(BigDecimal blackFrameGlassProb) {
this.blackFrameGlassProb = blackFrameGlassProb;
}
public BigDecimal getSunglassProb() {
return this.sunglassProb;
}
public void setSunglassProb(BigDecimal sunglassProb) {
this.sunglassProb = sunglassProb;
}
public BigDecimal getMogClearness() {
return this.mogClearness;
}
public void setMogClearness(BigDecimal mogClearness) {
this.mogClearness = mogClearness;
}
public BigDecimal getTempScore() {
return this.tempScore;
}
public void setTempScore(BigDecimal tempScore) {
this.tempScore = tempScore;
}
public BigDecimal getMaskScore() {
return this.maskScore;
}
public void setMaskScore(BigDecimal maskScore) {
this.maskScore = maskScore;
}
}
@@ -0,0 +1,37 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
public class GenderData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001071")
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@NotNull(message = "52001072")
@JsonProperty("probability")
@JSONField(name = "probability")
private BigDecimal probability;
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public BigDecimal getProbability() {
return this.probability;
}
public void setProbability(BigDecimal probability) {
this.probability = probability;
}
}
@@ -0,0 +1,60 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
public class LocationData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001031")
@JsonProperty("x")
@JSONField(name = "x")
private Integer x;
@NotNull(message = "52001032")
@JsonProperty("y")
@JSONField(name = "y")
private Integer y;
@NotNull(message = "52001033")
@JsonProperty("width")
@JSONField(name = "width")
private Integer width;
@NotNull(message = "52001034")
@JsonProperty("height")
@JSONField(name = "height")
private Integer height;
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
}
@@ -0,0 +1,99 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class NonVehicleAttrData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("vehicle_color")
@JSONField(name = "vehicle_color")
private ValueScoreData vehicleColor;
@JsonProperty("manned")
@JSONField(name = "manned")
private ValueScoreData manned;
@JsonProperty("convertible")
@JSONField(name = "convertible")
private ValueScoreData convertible;
@JsonProperty("vehicle_type")
@JSONField(name = "vehicle_type")
private ValueScoreData vehicleType;
@JsonProperty("vehicle_brand")
@JSONField(name = "vehicle_brand")
private ValueScoreData vehicleBrand;
@JsonProperty("vehicle_length")
@JSONField(name = "vehicle_length")
private ValueScoreData vehicleLength;
@JsonProperty("vehicle_width")
@JSONField(name = "vehicle_width")
private ValueScoreData vehicleWidth;
@JsonProperty("vehicle_height")
@JSONField(name = "vehicle_height")
private ValueScoreData vehicleHeight;
public ValueScoreData getVehicleColor() {
return this.vehicleColor;
}
public void setVehicleColor(ValueScoreData vehicleColor) {
this.vehicleColor = vehicleColor;
}
public ValueScoreData getManned() {
return this.manned;
}
public void setManned(ValueScoreData manned) {
this.manned = manned;
}
public ValueScoreData getConvertible() {
return this.convertible;
}
public void setConvertible(ValueScoreData convertible) {
this.convertible = convertible;
}
public ValueScoreData getVehicleType() {
return this.vehicleType;
}
public void setVehicleType(ValueScoreData vehicleType) {
this.vehicleType = vehicleType;
}
public ValueScoreData getVehicleBrand() {
return this.vehicleBrand;
}
public void setVehicleBrand(ValueScoreData vehicleBrand) {
this.vehicleBrand = vehicleBrand;
}
public ValueScoreData getVehicleLength() {
return this.vehicleLength;
}
public void setVehicleLength(ValueScoreData vehicleLength) {
this.vehicleLength = vehicleLength;
}
public ValueScoreData getVehicleWidth() {
return this.vehicleWidth;
}
public void setVehicleWidth(ValueScoreData vehicleWidth) {
this.vehicleWidth = vehicleWidth;
}
public ValueScoreData getVehicleHeight() {
return this.vehicleHeight;
}
public void setVehicleHeight(ValueScoreData vehicleHeight) {
this.vehicleHeight = vehicleHeight;
}
}
@@ -0,0 +1,236 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
public class Person implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("body")
@JSONField(name = "body")
private Body bodyVar;
@Valid
@JsonProperty("face")
@JSONField(name = "face")
private Face face;
public Body getBodyVar() {
return this.bodyVar;
}
public void setBodyVar(Body bodyVar) {
this.bodyVar = bodyVar;
}
public Face getFace() {
return this.face;
}
public void setFace(Face face) {
this.face = face;
}
public static class Face implements Serializable {
@JsonProperty("track_id")
@JSONField(name = "track_id")
private String trackId;
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@JsonProperty("background_pic")
@JSONField(name = "background_pic")
private String backgroundPic;
@NotNull(message = "52001002")
@JsonProperty("face_pic")
@JSONField(name = "face_pic")
private String facePic;
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private BigDecimal qualityScore;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("face_location")
@JSONField(name = "face_location")
private LocationData faceLocation;
@JsonProperty("face_attrs")
@JSONField(name = "face_attrs")
private FaceAttrData faceAttrs;
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getBackgroundPic() {
return this.backgroundPic;
}
public void setBackgroundPic(String backgroundPic) {
this.backgroundPic = backgroundPic;
}
public String getFacePic() {
return this.facePic;
}
public void setFacePic(String facePic) {
this.facePic = facePic;
}
public BigDecimal getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(BigDecimal qualityScore) {
this.qualityScore = qualityScore;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public LocationData getFaceLocation() {
return this.faceLocation;
}
public void setFaceLocation(LocationData faceLocation) {
this.faceLocation = faceLocation;
}
public FaceAttrData getFaceAttrs() {
return this.faceAttrs;
}
public void setFaceAttrs(FaceAttrData faceAttrs) {
this.faceAttrs = faceAttrs;
}
}
public static class Body implements Serializable {
@JsonProperty("track_id")
@JSONField(name = "track_id")
private String trackId;
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@JsonProperty("background_pic")
@JSONField(name = "background_pic")
private String backgroundPic;
@JsonProperty("body_pic")
@JSONField(name = "body_pic")
private String bodyPic;
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private String qualityScore;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("body_location")
@JSONField(name = "body_location")
private LocationData bodyLocation;
@JsonProperty("body_attrs")
@JSONField(name = "body_attrs")
private BodyAttrsData bodyAttrs;
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getBackgroundPic() {
return this.backgroundPic;
}
public void setBackgroundPic(String backgroundPic) {
this.backgroundPic = backgroundPic;
}
public String getBodyPic() {
return this.bodyPic;
}
public void setBodyPic(String bodyPic) {
this.bodyPic = bodyPic;
}
public String getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(String qualityScore) {
this.qualityScore = qualityScore;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public LocationData getBodyLocation() {
return this.bodyLocation;
}
public void setBodyLocation(LocationData bodyLocation) {
this.bodyLocation = bodyLocation;
}
public BodyAttrsData getBodyAttrs() {
return this.bodyAttrs;
}
public void setBodyAttrs(BodyAttrsData bodyAttrs) {
this.bodyAttrs = bodyAttrs;
}
}
}
@@ -0,0 +1,110 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class PlateAttrData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("plate_no")
@JSONField(name = "plate_no")
private ValueScoreData plateNo;
@JsonProperty("plate_color")
@JSONField(name = "plate_color")
private ValueScoreData plateColor;
@JsonProperty("plate_class")
@JSONField(name = "plate_class")
private ValueScoreData plateClass;
@JsonProperty("plate_move_direction")
@JSONField(name = "plate_move_direction")
private ValueScoreData plateMoveDirection;
@JsonProperty("plate_describe")
@JSONField(name = "plate_describe")
private ValueScoreData plateDescribe;
@JsonProperty("is_decked")
@JSONField(name = "is_decked")
private ValueScoreData isDecked;
@JsonProperty("is_altered")
@JSONField(name = "is_altered")
private ValueScoreData isAltered;
@JsonProperty("is_covered")
@JSONField(name = "is_covered")
private ValueScoreData isCovered;
@JsonProperty("has_plate")
@JSONField(name = "has_plate")
private ValueScoreData hasPlate;
public ValueScoreData getPlateNo() {
return this.plateNo;
}
public void setPlateNo(ValueScoreData plateNo) {
this.plateNo = plateNo;
}
public ValueScoreData getPlateColor() {
return this.plateColor;
}
public void setPlateColor(ValueScoreData plateColor) {
this.plateColor = plateColor;
}
public ValueScoreData getPlateClass() {
return this.plateClass;
}
public void setPlateClass(ValueScoreData plateClass) {
this.plateClass = plateClass;
}
public ValueScoreData getPlateMoveDirection() {
return this.plateMoveDirection;
}
public void setPlateMoveDirection(ValueScoreData plateMoveDirection) {
this.plateMoveDirection = plateMoveDirection;
}
public ValueScoreData getPlateDescribe() {
return this.plateDescribe;
}
public void setPlateDescribe(ValueScoreData plateDescribe) {
this.plateDescribe = plateDescribe;
}
public ValueScoreData getIsDecked() {
return this.isDecked;
}
public void setIsDecked(ValueScoreData isDecked) {
this.isDecked = isDecked;
}
public ValueScoreData getIsAltered() {
return this.isAltered;
}
public void setIsAltered(ValueScoreData isAltered) {
this.isAltered = isAltered;
}
public ValueScoreData getIsCovered() {
return this.isCovered;
}
public void setIsCovered(ValueScoreData isCovered) {
this.isCovered = isCovered;
}
public ValueScoreData getHasPlate() {
return this.hasPlate;
}
public void setHasPlate(ValueScoreData hasPlate) {
this.hasPlate = hasPlate;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class PlateData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("plate_pic")
@JSONField(name = "plate_pic")
private String platePic;
@JsonProperty("plate_location")
@JSONField(name = "plate_location")
private LocationData plateLocation;
@JsonProperty("plate_attrs")
@JSONField(name = "plate_attrs")
private PlateAttrData plateAttrs;
public String getPlatePic() {
return this.platePic;
}
public void setPlatePic(String platePic) {
this.platePic = platePic;
}
public LocationData getPlateLocation() {
return this.plateLocation;
}
public void setPlateLocation(LocationData plateLocation) {
this.plateLocation = plateLocation;
}
public PlateAttrData getPlateAttrs() {
return this.plateAttrs;
}
public void setPlateAttrs(PlateAttrData plateAttrs) {
this.plateAttrs = plateAttrs;
}
}
@@ -0,0 +1,37 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
public class RaceData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001071")
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@NotNull(message = "52001073")
@JsonProperty("probability")
@JSONField(name = "probability")
private BigDecimal probability;
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public BigDecimal getProbability() {
return this.probability;
}
public void setProbability(BigDecimal probability) {
this.probability = probability;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
public class UygurData implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "52001073")
@JsonProperty("probability")
@JSONField(name = "probability")
private BigDecimal probability;
public BigDecimal getProbability() {
return this.probability;
}
public void setProbability(BigDecimal probability) {
this.probability = probability;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ValueScoreData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("value")
@JSONField(name = "value")
private String values;
@JsonProperty("score")
@JSONField(name = "score")
private Float score;
public String getValues() {
return this.values;
}
public void setValues(String values) {
this.values = values;
}
public Float getScore() {
return this.score;
}
public void setScore(Float score) {
this.score = score;
}
}
@@ -0,0 +1,275 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class VehicleAttrData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("vehicle_color")
@JSONField(name = "vehicle_color")
private ValueScoreData vehicleColor;
@JsonProperty("vehicle_color_depth")
@JSONField(name = "vehicle_color_depth")
private ValueScoreData vehicleColorDepth;
@JsonProperty("vehicle_type")
@JSONField(name = "vehicle_type")
private ValueScoreData vehicleType;
@JsonProperty("vehicle_brand")
@JSONField(name = "vehicle_brand")
private ValueScoreData vehicleBrand;
@JsonProperty("vehicle_length")
@JSONField(name = "vehicle_length")
private ValueScoreData vehicleLength;
@JsonProperty("vehicle_width")
@JSONField(name = "vehicle_width")
private ValueScoreData vehicleWidth;
@JsonProperty("vehicle_height")
@JSONField(name = "vehicle_height")
private ValueScoreData vehicleHeight;
@JsonProperty("lane_no")
@JSONField(name = "lane_no")
private ValueScoreData laneNo;
@JsonProperty("cap_direction")
@JSONField(name = "cap_direction")
private ValueScoreData capDirection;
@JsonProperty("direction")
@JSONField(name = "direction")
private ValueScoreData direction;
@JsonProperty("speed")
@JSONField(name = "speed")
private ValueScoreData speed;
@JsonProperty("driving_status_code")
@JSONField(name = "driving_status_code")
private ValueScoreData drivingStatusCode;
@JsonProperty("visor")
@JSONField(name = "visor")
private ValueScoreData visor;
@JsonProperty("driver_seat_bell")
@JSONField(name = "driver_seat_bell")
private ValueScoreData driverSeatBell;
@JsonProperty("deputy_seat_bell")
@JSONField(name = "deputy_seat_bell")
private ValueScoreData deputySeatBell;
@JsonProperty("mot_tag")
@JSONField(name = "mot_tag")
private ValueScoreData motTag;
@JsonProperty("paper")
@JSONField(name = "paper")
private ValueScoreData paper;
@JsonProperty("pendant")
@JSONField(name = "pendant")
private ValueScoreData pendant;
@JsonProperty("sunroof")
@JSONField(name = "sunroof")
private ValueScoreData sunroof;
@JsonProperty("spare_tire")
@JSONField(name = "spare_tire")
private ValueScoreData spareTire;
@JsonProperty("rack")
@JSONField(name = "rack")
private ValueScoreData rack;
@JsonProperty("driver_call")
@JSONField(name = "driver_call")
private ValueScoreData driverCall;
@JsonProperty("danger_goods")
@JSONField(name = "danger_goods")
private ValueScoreData dangerGoods;
@JsonProperty("muck_cars")
@JSONField(name = "muck_cars")
private ValueScoreData muckCars;
public ValueScoreData getVehicleColor() {
return this.vehicleColor;
}
public void setVehicleColor(ValueScoreData vehicleColor) {
this.vehicleColor = vehicleColor;
}
public ValueScoreData getVehicleColorDepth() {
return this.vehicleColorDepth;
}
public void setVehicleColorDepth(ValueScoreData vehicleColorDepth) {
this.vehicleColorDepth = vehicleColorDepth;
}
public ValueScoreData getVehicleType() {
return this.vehicleType;
}
public void setVehicleType(ValueScoreData vehicleType) {
this.vehicleType = vehicleType;
}
public ValueScoreData getVehicleBrand() {
return this.vehicleBrand;
}
public void setVehicleBrand(ValueScoreData vehicleBrand) {
this.vehicleBrand = vehicleBrand;
}
public ValueScoreData getVehicleLength() {
return this.vehicleLength;
}
public void setVehicleLength(ValueScoreData vehicleLength) {
this.vehicleLength = vehicleLength;
}
public ValueScoreData getVehicleWidth() {
return this.vehicleWidth;
}
public void setVehicleWidth(ValueScoreData vehicleWidth) {
this.vehicleWidth = vehicleWidth;
}
public ValueScoreData getVehicleHeight() {
return this.vehicleHeight;
}
public void setVehicleHeight(ValueScoreData vehicleHeight) {
this.vehicleHeight = vehicleHeight;
}
public ValueScoreData getCapDirection() {
return this.capDirection;
}
public void setCapDirection(ValueScoreData capDirection) {
this.capDirection = capDirection;
}
public ValueScoreData getDirection() {
return this.direction;
}
public void setDirection(ValueScoreData direction) {
this.direction = direction;
}
public ValueScoreData getSpeed() {
return this.speed;
}
public void setSpeed(ValueScoreData speed) {
this.speed = speed;
}
public ValueScoreData getDrivingStatusCode() {
return this.drivingStatusCode;
}
public void setDrivingStatusCode(ValueScoreData drivingStatusCode) {
this.drivingStatusCode = drivingStatusCode;
}
public ValueScoreData getVisor() {
return this.visor;
}
public void setVisor(ValueScoreData visor) {
this.visor = visor;
}
public ValueScoreData getDriverSeatBell() {
return this.driverSeatBell;
}
public void setDriverSeatBell(ValueScoreData driverSeatBell) {
this.driverSeatBell = driverSeatBell;
}
public ValueScoreData getDeputySeatBell() {
return this.deputySeatBell;
}
public void setDeputySeatBell(ValueScoreData deputySeatBell) {
this.deputySeatBell = deputySeatBell;
}
public ValueScoreData getMotTag() {
return this.motTag;
}
public void setMotTag(ValueScoreData motTag) {
this.motTag = motTag;
}
public ValueScoreData getPaper() {
return this.paper;
}
public void setPaper(ValueScoreData paper) {
this.paper = paper;
}
public ValueScoreData getPendant() {
return this.pendant;
}
public void setPendant(ValueScoreData pendant) {
this.pendant = pendant;
}
public ValueScoreData getSunroof() {
return this.sunroof;
}
public void setSunroof(ValueScoreData sunroof) {
this.sunroof = sunroof;
}
public ValueScoreData getSpareTire() {
return this.spareTire;
}
public void setSpareTire(ValueScoreData spareTire) {
this.spareTire = spareTire;
}
public ValueScoreData getRack() {
return this.rack;
}
public void setRack(ValueScoreData rack) {
this.rack = rack;
}
public ValueScoreData getDriverCall() {
return this.driverCall;
}
public void setDriverCall(ValueScoreData driverCall) {
this.driverCall = driverCall;
}
public ValueScoreData getDangerGoods() {
return this.dangerGoods;
}
public void setDangerGoods(ValueScoreData dangerGoods) {
this.dangerGoods = dangerGoods;
}
public ValueScoreData getMuckCars() {
return this.muckCars;
}
public void setMuckCars(ValueScoreData muckCars) {
this.muckCars = muckCars;
}
public ValueScoreData getLaneNo() {
return this.laneNo;
}
public void setLaneNo(ValueScoreData laneNo) {
this.laneNo = laneNo;
}
}
@@ -0,0 +1,100 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http;
import java.util.Map;
public class VideoStructureInfoData {
private String trackId;
private Long pts;
private byte[] objPic;
private byte[] backgroudPic;
private Float qualityScore;
private byte[] feature;
private BoxData box;
private Map<String, Attrs> attrs;
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public Long getPts() {
return this.pts;
}
public void setPts(Long pts) {
this.pts = pts;
}
public Float getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(Float qualityScore) {
this.qualityScore = qualityScore;
}
public BoxData getBox() {
return this.box;
}
public void setBox(BoxData box) {
this.box = box;
}
public Map<String, Attrs> getAttrs() {
return this.attrs;
}
public byte[] getObjPic() {
return this.objPic;
}
public void setObjPic(byte[] objPic) {
this.objPic = objPic;
}
public byte[] getBackgroudPic() {
return this.backgroudPic;
}
public void setBackgroudPic(byte[] backgroudPic) {
this.backgroudPic = backgroudPic;
}
public byte[] getFeature() {
return this.feature;
}
public void setFeature(byte[] feature) {
this.feature = feature;
}
public void setAttrs(Map<String, Attrs> attrs) {
this.attrs = attrs;
}
public static class Attrs {
private String value;
public String getValue() {
return this.value;
}
private Float score;
public void setValue(String value) {
this.value = value;
}
public Float getScore() {
return this.score;
}
public void setScore(Float score) {
this.score = score;
}
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class AuthenticationParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64)
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@NotBlank(message = "52000000")
@JsonProperty("api_key")
@JSONField(name = "api_key")
private String apiKey;
@NotBlank(message = "52000001")
@JsonProperty("secret_key")
@JSONField(name = "secret_key")
private String secretKey;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getApiKey() {
return this.apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,351 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.BodyQualityData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.FaceQualityData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceCaptureParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@JsonProperty("time_consuming")
@JSONField(name = "time_consuming")
private Integer timeConsuming;
@JsonProperty("panorama_data")
@JSONField(name = "panorama_data")
@Valid
private PanoramaData panoramaData;
@JsonProperty("face")
@JSONField(name = "face")
@Valid
private List<FaceData> face;
@JsonProperty("part_body")
@JSONField(name = "part_body")
@Valid
private List<PartBody> partBody;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public static class PanoramaData implements Serializable {
@NotBlank(message = "52001022")
@Size(min = 1, max = 64, message = "52001023")
@JsonProperty("panorama_id")
@JSONField(name = "panorama_id")
private String panoramaId;
@NotBlank(message = "52001024")
@JsonProperty("panorama_image")
@JSONField(name = "panorama_image")
private String panoramaImage;
@JsonProperty("temp_image")
@JSONField(name = "temp_image")
private String tempImage;
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
public String getPanoramaId() {
return this.panoramaId;
}
public void setPanoramaId(String panoramaId) {
this.panoramaId = panoramaId;
}
public String getPanoramaImage() {
return this.panoramaImage;
}
public void setPanoramaImage(String panoramaImage) {
this.panoramaImage = panoramaImage;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getTempImage() {
return this.tempImage;
}
public void setTempImage(String tempImage) {
this.tempImage = tempImage;
}
}
public static class FaceData implements Serializable {
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@NotNull(message = "52001028")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@NotBlank(message = "52001029")
@JsonProperty("image")
@JSONField(name = "image")
private String image;
@JsonProperty("panorama_location")
@JSONField(name = "panorama_location")
@Valid
private LocationData panoramaLocation;
@JsonProperty("face_location")
@JSONField(name = "face_location")
@Valid
private LocationData faceLocation;
@JsonProperty("face_quality_data")
@JSONField(name = "face_quality_data")
@Valid
private FaceQualityData faceQualityData;
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public LocationData getPanoramaLocation() {
return this.panoramaLocation;
}
public void setPanoramaLocation(LocationData panoramaLocation) {
this.panoramaLocation = panoramaLocation;
}
public LocationData getFaceLocation() {
return this.faceLocation;
}
public void setFaceLocation(LocationData faceLocation) {
this.faceLocation = faceLocation;
}
public FaceQualityData getFaceQualityData() {
return this.faceQualityData;
}
public void setFaceQualityData(FaceQualityData faceQualityData) {
this.faceQualityData = faceQualityData;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public Integer getTimeConsuming() {
return this.timeConsuming;
}
public void setTimeConsuming(Integer timeConsuming) {
this.timeConsuming = timeConsuming;
}
public PanoramaData getPanoramaData() {
return this.panoramaData;
}
public void setPanoramaData(PanoramaData panoramaData) {
this.panoramaData = panoramaData;
}
public List<FaceData> getFace() {
return this.face;
}
public void setFace(List<FaceData> face) {
this.face = face;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public List<PartBody> getPartBody() {
return this.partBody;
}
public void setPartBody(List<PartBody> partBody) {
this.partBody = partBody;
}
public static class PartBody implements Serializable {
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@NotNull(message = "52001028")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@NotBlank(message = "52001029")
@JsonProperty("image")
@JSONField(name = "image")
private String image;
@JsonProperty("body_quality_data")
@JSONField(name = "body_quality_data")
@Valid
private BodyQualityData bodyQualityData;
@JsonProperty("track_id")
@JSONField(name = "track_id")
private String trackId;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("algo_version")
@JSONField(name = "algo_version")
private String algoVersion;
@JsonProperty("location")
@JSONField(name = "location")
@Valid
private LocationData location;
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public BodyQualityData getBodyQualityData() {
return this.bodyQualityData;
}
public void setBodyQualityData(BodyQualityData bodyQualityData) {
this.bodyQualityData = bodyQualityData;
}
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public String getAlgoVersion() {
return this.algoVersion;
}
public void setAlgoVersion(String algoVersion) {
this.algoVersion = algoVersion;
}
public LocationData getLocation() {
return this.location;
}
public void setLocation(LocationData location) {
this.location = location;
}
}
}
@@ -0,0 +1,139 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceCompareParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotNull(message = "52001021")
@JsonProperty("face_image")
@JSONField(name = "face_image")
@Valid
private List<FaceImage> faceImage;
@JsonProperty("quality_control")
@JSONField(name = "quality_control")
private Integer qualityControl;
@JsonProperty("liveness_control")
@JSONField(name = "liveness_control")
private Integer livenessControl;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public static class FaceImage implements Serializable {
@NotNull(message = "52001001")
@JsonProperty("image_type")
@JSONField(name = "image_type")
private Integer imageType;
@NotBlank(message = "52001002")
@JsonProperty("image")
@JSONField(name = "image")
private String image;
@NotNull(message = "52001020")
@JsonProperty("face_field")
@JSONField(name = "face_field")
private Integer faceField;
public Integer getImageType() {
return this.imageType;
}
public void setImageType(Integer imageType) {
this.imageType = imageType;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public Integer getFaceField() {
return this.faceField;
}
public void setFaceField(Integer faceField) {
this.faceField = faceField;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public List<FaceImage> getFaceImage() {
return this.faceImage;
}
public void setFaceImage(List<FaceImage> faceImage) {
this.faceImage = faceImage;
}
public Integer getQualityControl() {
return this.qualityControl;
}
public void setQualityControl(Integer qualityControl) {
this.qualityControl = qualityControl;
}
public Integer getLivenessControl() {
return this.livenessControl;
}
public void setLivenessControl(Integer livenessControl) {
this.livenessControl = livenessControl;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,120 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceDetectionParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(min = 1, max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotNull(message = "52001001")
@JsonProperty("image_type")
@JSONField(name = "image_type")
private Integer imageType;
@NotBlank(message = "52001002")
@JsonProperty("image")
@JSONField(name = "image")
private String image;
@JsonProperty("face_field")
@JSONField(name = "face_field")
private Integer faceField;
@JsonProperty("max_face_num")
@JSONField(name = "max_face_num")
private Integer maxFaceNum;
@JsonProperty("face_type")
@JSONField(name = "face_type")
private Integer faceType;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public Integer getImageType() {
return this.imageType;
}
public void setImageType(Integer imageType) {
this.imageType = imageType;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public Integer getFaceField() {
return this.faceField;
}
public void setFaceField(Integer faceField) {
this.faceField = faceField;
}
public Integer getMaxFaceNum() {
return this.maxFaceNum;
}
public void setMaxFaceNum(Integer maxFaceNum) {
this.maxFaceNum = maxFaceNum;
}
public Integer getFaceType() {
return this.faceType;
}
public void setFaceType(Integer faceType) {
this.faceType = faceType;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,256 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.FaceQualityData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceFeatureCaptureParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 64, message = "52001030")
@JsonProperty("feature_ver")
@JSONField(name = "feature_ver")
private String featureVer;
@JsonProperty("time_consuming")
@JSONField(name = "time_consuming")
private Integer timeConsuming;
@JsonProperty("panorama_data")
@JSONField(name = "panorama_data")
@Valid
private PanoramaData panoramaData;
@JsonProperty("face")
@JSONField(name = "face")
@Valid
private List<FaceData> face;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public static class PanoramaData implements Serializable {
@NotBlank(message = "52001022")
@Size(min = 1, max = 64, message = "52001023")
@JsonProperty("panorama_id")
@JSONField(name = "panorama_id")
private String panoramaId;
@NotBlank(message = "52001024")
@JsonProperty("panorama_image")
@JSONField(name = "panorama_image")
private String panoramaImage;
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@JsonProperty("temp_image")
@JSONField(name = "temp_image")
private String tempImage;
public String getPanoramaId() {
return this.panoramaId;
}
public void setPanoramaId(String panoramaId) {
this.panoramaId = panoramaId;
}
public String getPanoramaImage() {
return this.panoramaImage;
}
public void setPanoramaImage(String panoramaImage) {
this.panoramaImage = panoramaImage;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getTempImage() {
return this.tempImage;
}
public void setTempImage(String tempImage) {
this.tempImage = tempImage;
}
}
public static class FaceData implements Serializable {
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@NotNull(message = "52001028")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@JsonProperty("image")
@JSONField(name = "image")
private String image;
@JsonProperty("panorama_location")
@JSONField(name = "panorama_location")
@Valid
private LocationData panoramaLocation;
@JsonProperty("face_location")
@JSONField(name = "face_location")
@Valid
private LocationData faceLocation;
@JsonProperty("face_quality_data")
@JSONField(name = "face_quality_data")
@Valid
private FaceQualityData faceQualityData;
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public LocationData getPanoramaLocation() {
return this.panoramaLocation;
}
public void setPanoramaLocation(LocationData panoramaLocation) {
this.panoramaLocation = panoramaLocation;
}
public LocationData getFaceLocation() {
return this.faceLocation;
}
public void setFaceLocation(LocationData faceLocation) {
this.faceLocation = faceLocation;
}
public FaceQualityData getFaceQualityData() {
return this.faceQualityData;
}
public void setFaceQualityData(FaceQualityData faceQualityData) {
this.faceQualityData = faceQualityData;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getFeatureVer() {
return this.featureVer;
}
public void setFeatureVer(String featureVer) {
this.featureVer = featureVer;
}
public Integer getTimeConsuming() {
return this.timeConsuming;
}
public void setTimeConsuming(Integer timeConsuming) {
this.timeConsuming = timeConsuming;
}
public PanoramaData getPanoramaData() {
return this.panoramaData;
}
public void setPanoramaData(PanoramaData panoramaData) {
this.panoramaData = panoramaData;
}
public List<FaceData> getFace() {
return this.face;
}
public void setFace(List<FaceData> face) {
this.face = face;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,323 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceRecognitionParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 64, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52001059")
@JsonProperty("threshold")
@JSONField(name = "threshold")
private BigDecimal threshold;
@Size(max = 32, message = "52001060")
@JsonProperty("video_id")
@JSONField(name = "video_id")
private String videoId;
@JsonProperty("panorama_data")
@JSONField(name = "panorama_data")
@Valid
private PanoramaData panoramaData;
@NotNull(message = "52001061")
@JsonProperty("face")
@JSONField(name = "face")
@Valid
private List<FaceData> face;
public static class FaceData implements Serializable {
@NotNull(message = "52001065")
@JsonProperty("score")
@JSONField(name = "score")
private BigDecimal score;
@JsonProperty("recognition_result")
@JSONField(name = "recognition_result")
private Integer recognitionResult;
@JsonProperty("recognition_time")
@JSONField(name = "recognition_time")
private Long recognitionTime;
@NotBlank(message = "52001050")
@Size(max = 64, message = "52001066")
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@NotBlank(message = "52001063")
@Size(min = 1, max = 32, message = "52001064")
@JsonProperty("face_id")
@JSONField(name = "face_id")
private String faceId;
@JsonProperty("face_image")
@JSONField(name = "face_image")
private String faceImage;
@JsonProperty("location")
@JSONField(name = "location")
@Valid
private LocationData location;
@NotNull(message = "52001062")
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private BigDecimal qualityScore;
@JsonProperty("temp_score")
@JSONField(name = "temp_score")
private BigDecimal tempScore;
@JsonProperty("mask_score")
@JSONField(name = "mask_score")
private BigDecimal maskScore;
@JsonProperty("feature_ver")
@JSONField(name = "feature_ver")
private String featureVer;
@JsonProperty("feature_len")
@JSONField(name = "feature_len")
private String featureLen;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
public BigDecimal getScore() {
return this.score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public Integer getRecognitionResult() {
return this.recognitionResult;
}
public void setRecognitionResult(Integer recognitionResult) {
this.recognitionResult = recognitionResult;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getFaceId() {
return this.faceId;
}
public void setFaceId(String faceId) {
this.faceId = faceId;
}
public String getFaceImage() {
return this.faceImage;
}
public void setFaceImage(String faceImage) {
this.faceImage = faceImage;
}
public LocationData getLocation() {
return this.location;
}
public void setLocation(LocationData location) {
this.location = location;
}
public BigDecimal getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(BigDecimal qualityScore) {
this.qualityScore = qualityScore;
}
public Long getRecognitionTime() {
return this.recognitionTime;
}
public void setRecognitionTime(Long recognitionTime) {
this.recognitionTime = recognitionTime;
}
public BigDecimal getTempScore() {
return this.tempScore;
}
public void setTempScore(BigDecimal tempScore) {
this.tempScore = tempScore;
}
public BigDecimal getMaskScore() {
return this.maskScore;
}
public void setMaskScore(BigDecimal maskScore) {
this.maskScore = maskScore;
}
public String getFeatureVer() {
return this.featureVer;
}
public void setFeatureVer(String featureVer) {
this.featureVer = featureVer;
}
public String getFeatureLen() {
return this.featureLen;
}
public void setFeatureLen(String featureLen) {
this.featureLen = featureLen;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
}
public static class PanoramaData implements Serializable {
@NotBlank(message = "52001022")
@Size(min = 1, max = 64, message = "52001023")
@JsonProperty("panorama_id")
@JSONField(name = "panorama_id")
private String panoramaId;
@NotBlank(message = "52001024")
@JsonProperty("panorama_image")
@JSONField(name = "panorama_image")
private String panoramaImage;
@JsonProperty("temp_image")
@JSONField(name = "temp_image")
private String tempImage;
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
public String getTempImage() {
return this.tempImage;
}
public void setTempImage(String tempImage) {
this.tempImage = tempImage;
}
public String getPanoramaId() {
return this.panoramaId;
}
public void setPanoramaId(String panoramaId) {
this.panoramaId = panoramaId;
}
public String getPanoramaImage() {
return this.panoramaImage;
}
public void setPanoramaImage(String panoramaImage) {
this.panoramaImage = panoramaImage;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public BigDecimal getThreshold() {
return this.threshold;
}
public void setThreshold(BigDecimal threshold) {
this.threshold = threshold;
}
public String getVideoId() {
return this.videoId;
}
public void setVideoId(String videoId) {
this.videoId = videoId;
}
public PanoramaData getPanoramaData() {
return this.panoramaData;
}
public void setPanoramaData(PanoramaData panoramaData) {
this.panoramaData = panoramaData;
}
public List<FaceData> getFace() {
return this.face;
}
public void setFace(List<FaceData> face) {
this.face = face;
}
}
@@ -0,0 +1,144 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class FaceRegistionParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001009")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52001053")
@JsonProperty("image_data")
@JSONField(name = "image_data")
@Valid
private List<ImageData> imageData;
public static class ImageData implements Serializable {
@NotBlank(message = "52001050")
@Size(max = 64, message = "52001051")
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@NotBlank(message = "52001054")
@Size(min = 1, max = 32, message = "52001055")
@JsonProperty("face_id")
@JSONField(name = "face_id")
private String faceId;
@NotBlank(message = "52001056")
@Size(min = 1, max = 32, message = "52001076")
@JsonProperty("code")
@JSONField(name = "code")
private String code;
@NotBlank(message = "52001057")
@Size(min = 1, max = 120, message = "52001058")
@JsonProperty("message")
@JSONField(name = "message")
private String message;
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getFaceId() {
return this.faceId;
}
public void setFaceId(String faceId) {
this.faceId = faceId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<ImageData> getImageData() {
return this.imageData;
}
public void setImageData(List<ImageData> imageData) {
this.imageData = imageData;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class GetServerTimeParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class GetUpgradeConfigParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotNull(message = "52001077")
@JsonProperty("version_type")
@JSONField(name = "version_type")
private Integer versionType;
@NotBlank(message = "52001078")
@Size(min = 1, max = 64)
@JsonProperty("version")
@JSONField(name = "version")
private String version;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,327 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class PersonCardCompareParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotBlank(message = "52001003")
@JsonProperty("spot_image")
@JSONField(name = "spot_image")
private String spotImage;
@JsonProperty("panorama_image")
@JSONField(name = "panorama_image")
private String panoramaImage;
@JsonProperty("temp_image")
@JSONField(name = "temp_image")
private String tempImage;
@NotNull(message = "52001067")
@JsonProperty("card_data")
@JSONField(name = "card_data")
@Valid
private CardData cardData;
@NotNull(message = "52001068")
@JsonProperty("threshold")
@JSONField(name = "threshold")
private BigDecimal threshold;
@NotNull(message = "52001069")
@JsonProperty("score")
@JSONField(name = "score")
private BigDecimal score;
@JsonProperty("temp_score")
@JSONField(name = "temp_score")
private BigDecimal tempScore;
@JsonProperty("mask_score")
@JSONField(name = "mask_score")
private BigDecimal maskScore;
@NotNull(message = "52001070")
@JsonProperty("compare_result")
@JSONField(name = "compare_result")
private Integer compareResult;
@JsonProperty("time_consuming")
@JSONField(name = "time_consuming")
private Integer timeConsuming;
@JsonProperty("compare_time")
@JSONField(name = "compare_time")
private Long compareTime;
public static class CardData implements Serializable {
@NotBlank(message = "52001005")
@Size(min = 1, max = 64, message = "52001012")
@JsonProperty("name")
@JSONField(name = "name")
private String name;
@NotBlank(message = "52001006")
@Size(min = 1, max = 18, message = "52001013")
@JsonProperty("card_id")
@JSONField(name = "card_id")
private String cardId;
@JsonProperty("card_image")
@JSONField(name = "card_image")
private String cardImage;
@Size(max = 20, message = "52001075")
@JsonProperty("card_type")
@JSONField(name = "card_type")
private String cardType;
@Size(max = 32, message = "52001014")
@JsonProperty("folk")
@JSONField(name = "folk")
private String folk;
@JsonProperty("sex")
@JSONField(name = "sex")
private Integer sex;
@Size(max = 8, message = "52001015")
@JsonProperty("birthday")
@JSONField(name = "birthday")
private String birthday;
@Size(max = 120, message = "52001016")
@JsonProperty("address")
@JSONField(name = "address")
private String address;
@Size(max = 8, message = "52001017")
@JsonProperty("validdate1")
@JSONField(name = "validdate1")
private String validdate1;
@Size(max = 8, message = "52001018")
@JsonProperty("validdate2")
@JSONField(name = "validdate2")
private String validdate2;
@Size(max = 64, message = "52001019")
@JsonProperty("authority")
@JSONField(name = "authority")
private String authority;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getCardId() {
return this.cardId;
}
public void setCardId(String cardId) {
this.cardId = cardId;
}
public String getCardImage() {
return this.cardImage;
}
public void setCardImage(String cardImage) {
this.cardImage = cardImage;
}
public String getFolk() {
return this.folk;
}
public void setFolk(String folk) {
this.folk = folk;
}
public Integer getSex() {
return this.sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public String getBirthday() {
return this.birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getValiddate1() {
return this.validdate1;
}
public void setValiddate1(String validdate1) {
this.validdate1 = validdate1;
}
public String getValiddate2() {
return this.validdate2;
}
public void setValiddate2(String validdate2) {
this.validdate2 = validdate2;
}
public String getAuthority() {
return this.authority;
}
public void setAuthority(String authority) {
this.authority = authority;
}
public String getCardType() {
return this.cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getSpotImage() {
return this.spotImage;
}
public void setSpotImage(String spotImage) {
this.spotImage = spotImage;
}
public String getPanoramaImage() {
return this.panoramaImage;
}
public void setPanoramaImage(String panoramaImage) {
this.panoramaImage = panoramaImage;
}
public CardData getCardData() {
return this.cardData;
}
public void setCardData(CardData cardData) {
this.cardData = cardData;
}
public BigDecimal getThreshold() {
return this.threshold;
}
public void setThreshold(BigDecimal threshold) {
this.threshold = threshold;
}
public BigDecimal getScore() {
return this.score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public Integer getCompareResult() {
return this.compareResult;
}
public void setCompareResult(Integer compareResult) {
this.compareResult = compareResult;
}
public Integer getTimeConsuming() {
return this.timeConsuming;
}
public void setTimeConsuming(Integer timeConsuming) {
this.timeConsuming = timeConsuming;
}
public Long getCompareTime() {
return this.compareTime;
}
public void setCompareTime(Long compareTime) {
this.compareTime = compareTime;
}
public String getTempImage() {
return this.tempImage;
}
public void setTempImage(String tempImage) {
this.tempImage = tempImage;
}
public BigDecimal getTempScore() {
return this.tempScore;
}
public void setTempScore(BigDecimal tempScore) {
this.tempScore = tempScore;
}
public BigDecimal getMaskScore() {
return this.maskScore;
}
public void setMaskScore(BigDecimal maskScore) {
this.maskScore = maskScore;
}
}
@@ -0,0 +1,146 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportCpuParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotNull(message = "52001089")
@JsonProperty("run_time")
@JSONField(name = "run_time")
private Long runTime;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotBlank(message = "52001090")
@JsonProperty("cpu_name")
@JSONField(name = "cpu_name")
private String cpuName;
@NotNull(message = "52001091")
@JsonProperty("processors_number")
@JSONField(name = "processors_number")
private Integer processorsNumber;
@NotBlank(message = "52001092")
@JsonProperty("processor_architecture")
@JSONField(name = "processor_architecture")
private Integer processorArchitecture;
@NotNull(message = "52001093")
@JsonProperty("processor_type")
@JSONField(name = "processor_type")
private Integer processorType;
@NotNull(message = "52001094")
@JsonProperty("cpu_ratio")
@JSONField(name = "cpu_ratio")
private Integer cpuRatio;
@JsonProperty("temperature")
@JSONField(name = "temperature")
private Integer temperature;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getCpuName() {
return this.cpuName;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
public Integer getProcessorsNumber() {
return this.processorsNumber;
}
public void setProcessorsNumber(Integer processorsNumber) {
this.processorsNumber = processorsNumber;
}
public Integer getProcessorArchitecture() {
return this.processorArchitecture;
}
public void setProcessorArchitecture(Integer processorArchitecture) {
this.processorArchitecture = processorArchitecture;
}
public Integer getProcessorType() {
return this.processorType;
}
public void setProcessorType(Integer processorType) {
this.processorType = processorType;
}
public Integer getCpuRatio() {
return this.cpuRatio;
}
public void setCpuRatio(Integer cpuRatio) {
this.cpuRatio = cpuRatio;
}
public Integer getTemperature() {
return this.temperature;
}
public void setTemperature(Integer temperature) {
this.temperature = temperature;
}
}
@@ -0,0 +1,316 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportDeviceInfoParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001080")
@Size(min = 1, max = 32)
@JsonProperty("device_type")
@JSONField(name = "device_type")
private String deviceType;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("support_ability")
@JSONField(name = "support_ability")
private List<String> supportAbility;
@JsonProperty("app_version")
@JSONField(name = "app_version")
private String appVersion;
@Size(max = 200)
@JsonProperty("os_version")
@JSONField(name = "os_version")
private String osVersion;
@Size(max = 200)
@JsonProperty("firmware_version")
@JSONField(name = "firmware_version")
private String firmwareVersion;
@JsonProperty("version_data")
@JSONField(name = "version_data")
private List<VersionInfo> versionData;
@JsonProperty("network_data")
@JSONField(name = "network_data")
private List<NetworkInfo> networkData;
@JsonProperty("license_expires")
@JSONField(name = "license_expires")
private Long licenseExpires;
@JsonProperty("license_expires")
@JSONField(name = "license_expires")
private String pixel;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class VersionInfo implements Serializable {
@NotNull(message = "52001082")
@JsonProperty("model_type")
@JSONField(name = "model_type")
private Integer modelType;
@NotNull(message = "52001083")
@JsonProperty("model_index")
@JSONField(name = "model_index")
private Integer modelIndex;
@NotBlank(message = "52001084")
@Size(min = 1, max = 500)
@JsonProperty("model_version")
@JSONField(name = "model_version")
private String modelVersion;
public Integer getModelType() {
return this.modelType;
}
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public Integer getModelIndex() {
return this.modelIndex;
}
public void setModelIndex(Integer modelIndex) {
this.modelIndex = modelIndex;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
public static class NetworkInfo implements Serializable {
@NotNull(message = "52001085")
@JsonProperty("network_type")
@JSONField(name = "network_type")
private Integer networkType;
@NotBlank(message = "52001086")
@Size(min = 1, max = 200)
@JsonProperty("network_block")
@JSONField(name = "network_block")
private String networkBlock;
@NotBlank(message = "52001087")
@Size(min = 1, max = 200)
@JsonProperty("mac")
@JSONField(name = "mac")
private String mac;
@NotBlank(message = "52001088")
@Size(min = 1, max = 30)
@JsonProperty("ip")
@JSONField(name = "ip")
private String ip;
@Size(max = 30)
@JsonProperty("subnet_mask")
@JSONField(name = "subnet_mask")
private String subnetMask;
@Size(max = 30)
@JsonProperty("getway")
@JSONField(name = "getway")
private String getway;
@Size(max = 60)
@JsonProperty("dns")
@JSONField(name = "dns")
private String dns;
@Size(max = 200)
@JsonProperty("sim_block")
@JSONField(name = "sim_block")
private String simBlock;
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getGetway() {
return this.getway;
}
public void setGetway(String getway) {
this.getway = getway;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public List<String> getSupportAbility() {
return this.supportAbility;
}
public void setSupportAbility(List<String> supportAbility) {
this.supportAbility = supportAbility;
}
public String getAppVersion() {
return this.appVersion;
}
public void setAppVersion(String appVersion) {
this.appVersion = appVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
public List<VersionInfo> getVersionData() {
return this.versionData;
}
public void setVersionData(List<VersionInfo> versionData) {
this.versionData = versionData;
}
public List<NetworkInfo> getNetworkData() {
return this.networkData;
}
public void setNetworkData(List<NetworkInfo> networkData) {
this.networkData = networkData;
}
public Long getLicenseExpires() {
return this.licenseExpires;
}
public void setLicenseExpires(Long licenseExpires) {
this.licenseExpires = licenseExpires;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getPixel() {
return this.pixel;
}
public void setPixel(String pixel) {
this.pixel = pixel;
}
}
@@ -0,0 +1,111 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportDeviceLocationParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 64)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52001095")
@JsonProperty("timestamp")
@JSONField(name = "timestamp")
private Long timeStamp;
@NotNull(message = "52001096")
@JsonProperty("longitude")
@JSONField(name = "longitude")
private BigDecimal longitude;
@NotNull(message = "52001097")
@JsonProperty("latitude")
@JSONField(name = "latitude")
private BigDecimal latitude;
@JsonProperty("altitude")
@JSONField(name = "altitude")
private BigDecimal altitude;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Long getTimeStamp() {
return this.timeStamp;
}
public void setTimeStamp(Long timeStamp) {
this.timeStamp = timeStamp;
}
public BigDecimal getLongitude() {
return this.longitude;
}
public void setLongitude(BigDecimal longitude) {
this.longitude = longitude;
}
public BigDecimal getLatitude() {
return this.latitude;
}
public void setLatitude(BigDecimal latitude) {
this.latitude = latitude;
}
public BigDecimal getAltitude() {
return this.altitude;
}
public void setAltitude(BigDecimal altitude) {
this.altitude = altitude;
}
}
@@ -0,0 +1,231 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportDiskInfoParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotNull(message = "52001098")
@JsonProperty("run_time")
@JSONField(name = "run_time")
private Long runTime;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("data")
@JSONField(name = "data")
List<DiskInfo> data;
public static class DiskInfo implements Serializable {
@NotBlank(message = "52001099")
@Size(min = 1, max = 200)
@JsonProperty("root_path_name")
@JSONField(name = "root_path_name")
private String rootPathName;
@NotNull(message = "52001101")
@JsonProperty("tal_number")
@JSONField(name = "tal_number")
private Long talNumber;
@NotNull(message = "52001102")
@JsonProperty("free_available_caller")
@JSONField(name = "free_available_caller")
private Long freeAvailableCaller;
@NotNull(message = "52001103")
@JsonProperty("is_install")
@JSONField(name = "is_install")
private Integer isInstall;
@JsonProperty("inode_total")
@JSONField(name = "inode_total")
private Long inodeTotal;
@JsonProperty("inode_used")
@JSONField(name = "inode_used")
private Long inodeUsed;
@JsonProperty("disk_io")
@JSONField(name = "disk_io")
private DiskIo diskIo;
@JsonProperty("electric_voltage")
@JSONField(name = "electric_voltage")
private BigDecimal electricVoltage;
@JsonProperty("electric_current")
@JSONField(name = "electric_current")
private BigDecimal electricCurrent;
public static class DiskIo implements Serializable {
@JsonProperty("iops")
@JSONField(name = "iops")
private Integer iops;
@JsonProperty("throughput")
@JSONField(name = "throughput")
private Integer throughput;
@JsonProperty("wait_time")
@JSONField(name = "wait_time")
private Long waitTime;
public Integer getIops() {
return this.iops;
}
public void setIops(Integer iops) {
this.iops = iops;
}
public Integer getThroughput() {
return this.throughput;
}
public void setThroughput(Integer throughput) {
this.throughput = throughput;
}
public Long getWaitTime() {
return this.waitTime;
}
public void setWaitTime(Long waitTime) {
this.waitTime = waitTime;
}
}
public String getRootPathName() {
return this.rootPathName;
}
public void setRootPathName(String rootPathName) {
this.rootPathName = rootPathName;
}
public Long getTalNumber() {
return this.talNumber;
}
public void setTalNumber(Long talNumber) {
this.talNumber = talNumber;
}
public Long getFreeAvailableCaller() {
return this.freeAvailableCaller;
}
public void setFreeAvailableCaller(Long freeAvailableCaller) {
this.freeAvailableCaller = freeAvailableCaller;
}
public Integer getIsInstall() {
return this.isInstall;
}
public void setIsInstall(Integer isInstall) {
this.isInstall = isInstall;
}
public Long getInodeTotal() {
return this.inodeTotal;
}
public void setInodeTotal(Long inodeTotal) {
this.inodeTotal = inodeTotal;
}
public Long getInodeUsed() {
return this.inodeUsed;
}
public void setInodeUsed(Long inodeUsed) {
this.inodeUsed = inodeUsed;
}
public DiskIo getDiskIo() {
return this.diskIo;
}
public void setDiskIo(DiskIo diskIo) {
this.diskIo = diskIo;
}
public BigDecimal getElectricVoltage() {
return this.electricVoltage;
}
public void setElectricVoltage(BigDecimal electricVoltage) {
this.electricVoltage = electricVoltage;
}
public BigDecimal getElectricCurrent() {
return this.electricCurrent;
}
public void setElectricCurrent(BigDecimal electricCurrent) {
this.electricCurrent = electricCurrent;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<DiskInfo> getData() {
return this.data;
}
public void setData(List<DiskInfo> data) {
this.data = data;
}
}
@@ -0,0 +1,128 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportGpuParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotNull(message = "52001104")
@JsonProperty("run_time")
@JSONField(name = "run_time")
private Long runTime;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52001108")
@JsonProperty("gpu_data")
@JSONField(name = "gpu_data")
private List<GpuData> gpuData;
public static class GpuData implements Serializable {
@NotBlank(message = "52001105")
@Size(min = 1, max = 120)
@JsonProperty("gpu_name")
@JSONField(name = "gpu_name")
private String gpuName;
@NotNull(message = "52001106")
@JsonProperty("video_memory")
@JSONField(name = "video_memory")
private Integer videoMemory;
@NotNull(message = "52001107")
@JsonProperty("gpu_ratio")
@JSONField(name = "gpu_ratio")
private Integer gpuRatio;
public String getGpuName() {
return this.gpuName;
}
public void setGpuName(String gpuName) {
this.gpuName = gpuName;
}
public Integer getVideoMemory() {
return this.videoMemory;
}
public void setVideoMemory(Integer videoMemory) {
this.videoMemory = videoMemory;
}
public Integer getGpuRatio() {
return this.gpuRatio;
}
public void setGpuRatio(Integer gpuRatio) {
this.gpuRatio = gpuRatio;
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<GpuData> getGpuData() {
return this.gpuData;
}
public void setGpuData(List<GpuData> gpuData) {
this.gpuData = gpuData;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportHeartBeatParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("sub_device_ids")
@JSONField(name = "sub_device_ids")
private List<String> subDeviceIds;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<String> getSubDeviceIds() {
return this.subDeviceIds;
}
public void setSubDeviceIds(List<String> subDeviceIds) {
this.subDeviceIds = subDeviceIds;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,111 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportMemoryParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64)
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64)
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotNull(message = "52001109")
@JsonProperty("run_time")
@JSONField(name = "run_time")
private Long runTime;
@NotNull(message = "52001110")
@JsonProperty("memory_load")
@JSONField(name = "memory_load")
private Integer memoryLoad;
@NotNull(message = "52001111")
@JsonProperty("total_physical")
@JSONField(name = "total_physical")
private Long totalPhysical;
@NotNull(message = "52001112")
@JsonProperty("avail_physical")
@JSONField(name = "avail_physical")
private Long availPhysical;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Integer getMemoryLoad() {
return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
this.memoryLoad = memoryLoad;
}
public Long getTotalPhysical() {
return this.totalPhysical;
}
public void setTotalPhysical(Long totalPhysical) {
this.totalPhysical = totalPhysical;
}
public Long getAvailPhysical() {
return this.availPhysical;
}
public void setAvailPhysical(Long availPhysical) {
this.availPhysical = availPhysical;
}
}
@@ -0,0 +1,123 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class ReportNetworkParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64)
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64)
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotNull(message = "52001113")
@JsonProperty("run_time")
@JSONField(name = "run_time")
private Long runTime;
@JsonProperty("data")
@JSONField(name = "data")
private List<NetworkData> data;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class NetworkData implements Serializable {
@JsonProperty("bandwidth")
@JSONField(name = "bandwidth")
private Integer bandwidth;
@JsonProperty("throughput")
@JSONField(name = "throughput")
private Integer throughput;
@JsonProperty("wait_time")
@JSONField(name = "wait_time")
private Long waitTime;
public Integer getBandwidth() {
return this.bandwidth;
}
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
public Integer getThroughput() {
return this.throughput;
}
public void setThroughput(Integer throughput) {
this.throughput = throughput;
}
public Long getWaitTime() {
return this.waitTime;
}
public void setWaitTime(Long waitTime) {
this.waitTime = waitTime;
}
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public List<NetworkData> getData() {
return this.data;
}
public void setData(List<NetworkData> data) {
this.data = data;
}
}
@@ -0,0 +1,78 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
public class ReportOrderTypeParam {
@NotBlank(message = "52001000")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52002004")
@JsonProperty("order_type")
@JSONField(name = "order_type")
private Integer orderType;
@NotNull(message = "52002005")
@JsonProperty("content")
@JSONField(name = "content")
private String content;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getOrderType() {
return this.orderType;
}
public void setOrderType(Integer orderType) {
this.orderType = orderType;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
@@ -0,0 +1,82 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
public class RequestOrderTypeParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52002002")
@JsonProperty("order_time")
@JSONField(name = "order_time")
private Long orderTime;
@NotNull(message = "52002004")
@JsonProperty("order_type")
@JSONField(name = "order_type")
private Integer orderType;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Long getOrderTime() {
return this.orderTime;
}
public void setOrderTime(Long orderTime) {
this.orderTime = orderTime;
}
public Integer getOrderType() {
return this.orderType;
}
public void setOrderType(Integer orderType) {
this.orderType = orderType;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class RestartDeviceParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class RoiConfigParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,284 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result.RoiConfigResult;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class RoiUploadParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("roi")
@JSONField(name = "roi")
private RoiData roiData;
public static class RoiData implements Serializable {
@NotNull(message = "roi个数不能为空")
@JsonProperty("roi_count")
@JSONField(name = "roi_count")
private Integer roiCount;
@JsonProperty("height")
@JSONField(name = "height")
private Integer height;
@JsonProperty("width")
@JSONField(name = "width")
private Integer width;
@JsonProperty("type")
@JSONField(name = "type")
private String type;
@JsonProperty("method")
@JSONField(name = "method")
private Integer method;
@JsonProperty("has_panorama")
@JSONField(name = "has_panorama")
private Integer hasPanorama;
@JsonProperty("report_rate")
@JSONField(name = "report_rate")
private Integer reportRate;
@JsonProperty("roi_data")
@JSONField(name = "roi_data")
private List<RoiInfo> roiInfos;
public static class RoiInfo implements Serializable {
@JsonProperty("roi_id")
@JSONField(name = "roi_id")
private String roiId;
@JsonProperty("roi_name")
@JSONField(name = "roi_name")
private String roiName;
@JsonProperty("type")
@JSONField(name = "type")
private String type;
@JsonProperty("number")
@JSONField(name = "number")
private Integer number;
@JsonProperty("count")
@JSONField(name = "count")
private Integer count;
@JsonProperty("points")
@JSONField(name = "points")
private List<RoiConfigResult.RoiInfo.Point> points;
public static class Point implements Serializable {
@JsonProperty("x")
@JSONField(name = "x")
private Integer x;
@JsonProperty("y")
@JSONField(name = "y")
private Integer y;
@JsonProperty("w")
@JSONField(name = "w")
private Integer w;
@JsonProperty("h")
@JSONField(name = "h")
private Integer h;
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getW() {
return this.w;
}
public void setW(Integer w) {
this.w = w;
}
public Integer getH() {
return this.h;
}
public void setH(Integer h) {
this.h = h;
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getRoiId() {
return this.roiId;
}
public void setRoiId(String roiId) {
this.roiId = roiId;
}
public String getRoiName() {
return this.roiName;
}
public void setRoiName(String roiName) {
this.roiName = roiName;
}
public Integer getNumber() {
return this.number;
}
public void setNumber(Integer number) {
this.number = number;
}
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public List<RoiConfigResult.RoiInfo.Point> getPoints() {
return this.points;
}
public void setPoints(List<RoiConfigResult.RoiInfo.Point> points) {
this.points = points;
}
}
public Integer getHasPanorama() {
return this.hasPanorama;
}
public void setHasPanorama(Integer hasPanorama) {
this.hasPanorama = hasPanorama;
}
public Integer getReportRate() {
return this.reportRate;
}
public void setReportRate(Integer reportRate) {
this.reportRate = reportRate;
}
public List<RoiInfo> getRoiInfos() {
return this.roiInfos;
}
public void setRoiInfos(List<RoiInfo> roiInfos) {
this.roiInfos = roiInfos;
}
public Integer getRoiCount() {
return this.roiCount;
}
public void setRoiCount(Integer roiCount) {
this.roiCount = roiCount;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Integer getMethod() {
return this.method;
}
public void setMethod(Integer method) {
this.method = method;
}
}
public RoiData getRoiData() {
return this.roiData;
}
public void setRoiData(RoiData roiData) {
this.roiData = roiData;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,248 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.PlateData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.VehicleAttrData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class StructureCarUploadParam implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@JsonProperty("vehicle")
@JSONField(name = "vehicle")
private Vehicle vehicle;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public Vehicle getVehicle() {
return this.vehicle;
}
public void setVehicle(Vehicle vehicle) {
this.vehicle = vehicle;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public static class Vehicle implements Serializable {
@JsonProperty("data_source")
@JSONField(name = "data_source")
private String dataSource;
@JsonProperty("passengers")
@JSONField(name = "passengers")
private List<StructurePersonUploadParam> passengers;
@JsonProperty("vehicle_face")
@JSONField(name = "vehicle_face")
private LocationData vehicleFace;
@JsonProperty("vehicle")
@JSONField(name = "vehicle")
private VehicleData vehicle;
@JsonProperty("plate")
@JSONField(name = "plate")
private PlateData plate;
public VehicleData getVehicle() {
return this.vehicle;
}
public String getDataSource() {
return this.dataSource;
}
public void setDataSource(String dataSource) {
this.dataSource = dataSource;
}
public List<StructurePersonUploadParam> getPassengers() {
return this.passengers;
}
public void setPassengers(List<StructurePersonUploadParam> passengers) {
this.passengers = passengers;
}
public LocationData getVehicleFace() {
return this.vehicleFace;
}
public void setVehicleFace(LocationData vehicleFace) {
this.vehicleFace = vehicleFace;
}
public void setVehicle(VehicleData vehicle) {
this.vehicle = vehicle;
}
public PlateData getPlate() {
return this.plate;
}
public void setPlate(PlateData plate) {
this.plate = plate;
}
public static class VehicleData implements Serializable {
@JsonProperty("track_id")
@JSONField(name = "track_id")
private String trackId;
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private Long captureTime;
@JsonProperty("vehicle_pic")
@JSONField(name = "vehicle_pic")
private String vehiclePic;
@JsonProperty("background_pic")
@JSONField(name = "background_pic")
private String backgroundPic;
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private String qualityScore;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("vehicle_location")
@JSONField(name = "vehicle_location")
private LocationData vehicleLocation;
@JsonProperty("vehicle_attrs")
@JSONField(name = "vehicle_attrs")
private VehicleAttrData vehicleAttrs;
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public Long getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(Long captureTime) {
this.captureTime = captureTime;
}
public String getVehiclePic() {
return this.vehiclePic;
}
public void setVehiclePic(String vehiclePic) {
this.vehiclePic = vehiclePic;
}
public String getBackgroundPic() {
return this.backgroundPic;
}
public void setBackgroundPic(String backgroundPic) {
this.backgroundPic = backgroundPic;
}
public String getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(String qualityScore) {
this.qualityScore = qualityScore;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public LocationData getVehicleLocation() {
return this.vehicleLocation;
}
public void setVehicleLocation(LocationData vehicleLocation) {
this.vehicleLocation = vehicleLocation;
}
public VehicleAttrData getVehicleAttrs() {
return this.vehicleAttrs;
}
public void setVehicleAttrs(VehicleAttrData vehicleAttrs) {
this.vehicleAttrs = vehicleAttrs;
}
}
}
}
@@ -0,0 +1,249 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.NonVehicleAttrData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.PlateData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class StructureNoCarUploadParam implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@JsonProperty("non_vehicle")
@JSONField(name = "non_vehicle")
private NonVehicle nonVehicle;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public NonVehicle getNonVehicle() {
return this.nonVehicle;
}
public void setNonVehicle(NonVehicle nonVehicle) {
this.nonVehicle = nonVehicle;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public static class NonVehicle implements Serializable {
@JsonProperty("non_vehicle_id")
@JSONField(name = "non_vehicle_id")
private String nonVehicleId;
@JsonProperty("data_source")
@JSONField(name = "data_source")
private String dataSource;
@JsonProperty("passengers")
@JSONField(name = "passengers")
private List<StructurePersonUploadParam> passengers;
@JsonProperty("non_vehicle")
@JSONField(name = "non_vehicle")
private NonVehicleData nonVehicle;
@JsonProperty("plate")
@JSONField(name = "plate")
private PlateData plate;
public String getNonVehicleId() {
return this.nonVehicleId;
}
public void setNonVehicleId(String nonVehicleId) {
this.nonVehicleId = nonVehicleId;
}
public String getDataSource() {
return this.dataSource;
}
public void setDataSource(String dataSource) {
this.dataSource = dataSource;
}
public List<StructurePersonUploadParam> getPassengers() {
return this.passengers;
}
public void setPassengers(List<StructurePersonUploadParam> passengers) {
this.passengers = passengers;
}
public NonVehicleData getNonVehicle() {
return this.nonVehicle;
}
public void setNonVehicle(NonVehicleData nonVehicle) {
this.nonVehicle = nonVehicle;
}
public PlateData getPlate() {
return this.plate;
}
public void setPlate(PlateData plate) {
this.plate = plate;
}
public static class NonVehicleData implements Serializable {
@NotNull(message = "52001025")
@JsonProperty("capture_time")
@JSONField(name = "capture_time")
private String captureTime;
@NotNull(message = "52003011")
@JsonProperty("track_id")
@JSONField(name = "track_id")
private String trackId;
@JsonProperty("non_vehicle_pic")
@JSONField(name = "non_vehicle_pic")
private String nonVehiclePic;
@JsonProperty("background_pic")
@JSONField(name = "background_pic")
private String backgroundPic;
@JsonProperty("quality_score")
@JSONField(name = "quality_score")
private String qualityScore;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("non_vehicle_location")
@JSONField(name = "non_vehicle_location")
private LocationData nonVehicleLocation;
@JsonProperty("non_vehicle_attrs")
@JSONField(name = "non_vehicle_attrs")
private NonVehicleAttrData nonVehicleAttrs;
public String getCaptureTime() {
return this.captureTime;
}
public void setCaptureTime(String captureTime) {
this.captureTime = captureTime;
}
public String getTrackId() {
return this.trackId;
}
public void setTrackId(String trackId) {
this.trackId = trackId;
}
public String getNonVehiclePic() {
return this.nonVehiclePic;
}
public void setNonVehiclePic(String nonVehiclePic) {
this.nonVehiclePic = nonVehiclePic;
}
public String getBackgroundPic() {
return this.backgroundPic;
}
public void setBackgroundPic(String backgroundPic) {
this.backgroundPic = backgroundPic;
}
public String getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(String qualityScore) {
this.qualityScore = qualityScore;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public LocationData getNonVehicleLocation() {
return this.nonVehicleLocation;
}
public void setNonVehicleLocation(LocationData nonVehicleLocation) {
this.nonVehicleLocation = nonVehicleLocation;
}
public NonVehicleAttrData getNonVehicleAttrs() {
return this.nonVehicleAttrs;
}
public void setNonVehicleAttrs(NonVehicleAttrData nonVehicleAttrs) {
this.nonVehicleAttrs = nonVehicleAttrs;
}
}
}
}
@@ -0,0 +1,96 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.Person;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.Valid;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class StructurePersonUploadParam implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001026")
@Size(min = 1, max = 64, message = "52001027")
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@JsonProperty("person_id")
@JSONField(name = "person_id")
private String personId;
@Valid
@JsonProperty("person")
@JSONField(name = "person")
private Person person;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public String getPersonId() {
return this.personId;
}
public void setPersonId(String personId) {
this.personId = personId;
}
public Person getPerson() {
return this.person;
}
public void setPerson(Person person) {
this.person = person;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,48 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
public class ThirdPartyGatewayQueryParam implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("device_types")
@JSONField(name = "device_types")
List<String> deviceTypes;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public List<String> getDeviceTypes() {
return this.deviceTypes;
}
public void setDeviceTypes(List<String> deviceTypes) {
this.deviceTypes = deviceTypes;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,133 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UpdateFeatureParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001050")
@Size(min = 1, max = 64, message = "52001051")
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@Size(max = 32, message = "52001052")
@JsonProperty("feature_ver")
@JSONField(name = "feature_ver")
private String featureVer;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pageSize;
@NotNull(message = "52001074")
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getFeatureVer() {
return this.featureVer;
}
public void setFeatureVer(String featureVer) {
this.featureVer = featureVer;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,74 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UpdateGroupParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001049")
@JsonProperty("feature_ver")
@JSONField(name = "feature_ver")
private String featureVer;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getFeatureVer() {
return this.featureVer;
}
public void setFeatureVer(String featureVer) {
this.featureVer = featureVer;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,132 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UpdatePersonParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001050")
@Size(min = 1, max = 64, message = "52001051")
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pageSize;
@NotNull(message = "52001074")
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
@JsonProperty("support_person_validdate")
@JSONField(name = "support_person_validdate")
private Integer supportPersonValiddate;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getSupportPersonValiddate() {
return this.supportPersonValiddate;
}
public void setSupportPersonValiddate(Integer supportPersonValiddate) {
this.supportPersonValiddate = supportPersonValiddate;
}
}
@@ -0,0 +1,119 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UpdatePictureParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotBlank(message = "52001050")
@Size(min = 1, max = 64, message = "52001051")
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pageSize;
@NotNull(message = "52001074")
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,51 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UpdateTokenParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@NotBlank(message = "52001114")
@Size(min = 1, max = 512)
@JsonProperty("refresh_token")
@JSONField(name = "refresh_token")
private String refreshToken;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getRefreshToken() {
return this.refreshToken;
}
public void setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,100 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UploadLogParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@NotBlank(message = "52001115")
@Size(min = 1, max = 32)
@JsonProperty("log_type")
@JSONField(name = "log_type")
private String logType;
@JsonProperty("log_code")
@JSONField(name = "log_code")
private Integer logCode;
@NotNull(message = "52001116")
@JsonProperty("log_time")
@JSONField(name = "log_time")
private Long logTime;
@NotBlank(message = "52001117")
@Size(min = 1, max = 1000)
@JsonProperty("log_desc")
@JSONField(name = "log_desc")
private String logDesc;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
public Integer getLogCode() {
return this.logCode;
}
public void setLogCode(Integer logCode) {
this.logCode = logCode;
}
public Long getLogTime() {
return this.logTime;
}
public void setLogTime(Long logTime) {
this.logTime = logTime;
}
public String getLogDesc() {
return this.logDesc;
}
public void setLogDesc(String logDesc) {
this.logDesc = logDesc;
}
}
@@ -0,0 +1,87 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UploadPanoramaParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "52001118")
@JsonProperty("image_type")
@JSONField(name = "image_type")
private Integer imageType;
@NotBlank(message = "52001119")
@JsonProperty("image")
@JSONField(name = "image")
private String image;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getImageType() {
return this.imageType;
}
public void setImageType(Integer imageType) {
this.imageType = imageType;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
}
@@ -0,0 +1,174 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UploadUpgradeLogParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@NotNull(message = "52001120")
@JsonProperty("dowload_begin_time")
@JSONField(name = "dowload_begin_time")
private Long dowloadBeginTime;
@NotNull(message = "52001121")
@JsonProperty("upgrade_finish_time")
@JSONField(name = "upgrade_finish_time")
private Long upgradeFinishTime;
@NotNull(message = "52001122")
@JsonProperty("version_type")
@JSONField(name = "version_type")
private Integer versionType;
@NotBlank(message = "52001123")
@Size(min = 1, max = 64)
@JsonProperty("version")
@JSONField(name = "version")
private String version;
@NotNull(message = "52001124")
@JsonProperty("package_type")
@JSONField(name = "package_type")
private Integer packageType;
@NotBlank(message = "52001125")
@Size(min = 1, max = 64)
@JsonProperty("upgrade_code")
@JSONField(name = "upgrade_code")
private String upgradeCode;
@NotBlank(message = "52001126")
@Size(min = 1, max = 200)
@JsonProperty("upgrade_message")
@JSONField(name = "upgrade_message")
private String upgradeMessage;
@Size(max = 32)
@JsonProperty("upgrade_conf_id")
@JSONField(name = "upgrade_conf_id")
private String upgradeConfId;
@NotNull(message = "52001127")
@JsonProperty("status")
@JSONField(name = "status")
private Integer status;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public Long getDowloadBeginTime() {
return this.dowloadBeginTime;
}
public void setDowloadBeginTime(Long dowloadBeginTime) {
this.dowloadBeginTime = dowloadBeginTime;
}
public Long getUpgradeFinishTime() {
return this.upgradeFinishTime;
}
public void setUpgradeFinishTime(Long upgradeFinishTime) {
this.upgradeFinishTime = upgradeFinishTime;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
public String getUpgradeMessage() {
return this.upgradeMessage;
}
public void setUpgradeMessage(String upgradeMessage) {
this.upgradeMessage = upgradeMessage;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,100 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class UploadVideoFragmentParam implements Serializable {
private static final long serialVersionUID = 1L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32)
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512)
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotBlank(message = "52001128")
@Size(min = 1, max = 32)
@JsonProperty("video_id")
@JSONField(name = "video_id")
private String videoId;
@NotBlank(message = "52001129")
@Size(min = 1, max = 1)
@JsonProperty("compression_type")
@JSONField(name = "compression_type")
private String compressionType;
@NotBlank(message = "52001130")
@JsonProperty("video_file")
@JSONField(name = "video_file")
private String videoFile;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getVideoId() {
return this.videoId;
}
public void setVideoId(String videoId) {
this.videoId = videoId;
}
public String getCompressionType() {
return this.compressionType;
}
public void setCompressionType(String compressionType) {
this.compressionType = compressionType;
}
public String getVideoFile() {
return this.videoFile;
}
public void setVideoFile(String videoFile) {
this.videoFile = videoFile;
}
}
@@ -0,0 +1,45 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
public class AngleData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("pitch")
@JSONField(name = "pitch")
private BigDecimal pitch;
@JsonProperty("yaw")
@JSONField(name = "yaw")
private BigDecimal yaw;
@JsonProperty("roll")
@JSONField(name = "roll")
private BigDecimal roll;
public BigDecimal getPitch() {
return this.pitch;
}
public void setPitch(BigDecimal pitch) {
this.pitch = pitch;
}
public BigDecimal getYaw() {
return this.yaw;
}
public void setYaw(BigDecimal yaw) {
this.yaw = yaw;
}
public BigDecimal getRoll() {
return this.roll;
}
public void setRoll(BigDecimal roll) {
this.roll = roll;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class AuthenticationResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("access_token")
@JSONField(name = "access_token")
private String accessToken;
@JsonProperty("refresh_token")
@JSONField(name = "refresh_token")
private String refreshToken;
@JsonProperty("expires_in")
@JSONField(name = "expires_in")
private Long expiresIn;
@JsonProperty("encryption_type")
@JSONField(name = "encryption_type")
private Integer encryptionType;
@JsonProperty("secret_key")
@JSONField(name = "secret_key")
private String secretKey;
@JsonProperty("salt")
@JSONField(name = "salt")
private String salt;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public String getRefreshToken() {
return this.refreshToken;
}
public void setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
}
public Long getExpiresIn() {
return this.expiresIn;
}
public void setExpiresIn(Long expiresIn) {
this.expiresIn = expiresIn;
}
public Integer getEncryptionType() {
return this.encryptionType;
}
public void setEncryptionType(Integer encryptionType) {
this.encryptionType = encryptionType;
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public String getSalt() {
return this.salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,45 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
public class ExpressionData implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@JsonProperty("probability")
@JSONField(name = "probability")
private BigDecimal probability;
@JsonProperty("smile_score")
@JSONField(name = "smile_score")
private BigDecimal smileScore;
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public BigDecimal getProbability() {
return this.probability;
}
public void setProbability(BigDecimal probability) {
this.probability = probability;
}
public BigDecimal getSmileScore() {
return this.smileScore;
}
public void setSmileScore(BigDecimal smileScore) {
this.smileScore = smileScore;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class FaceCaptureResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,84 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.FaceQualityData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
public class FaceCompareResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("score")
@JSONField(name = "score")
private BigDecimal score;
@JsonProperty("face_data")
@JSONField(name = "face_data")
private List<FaceData> faceData;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public static class FaceData implements Serializable {
@JsonProperty("location_data")
@JSONField(name = "location_data")
private LocationData locationData;
@JsonProperty("face_quality_data")
@JSONField(name = "face_quality_data")
private FaceQualityData faceQualityData;
public LocationData getLocationData() {
return this.locationData;
}
public void setLocationData(LocationData locationData) {
this.locationData = locationData;
}
public FaceQualityData getFaceQualityData() {
return this.faceQualityData;
}
public void setFaceQualityData(FaceQualityData faceQualityData) {
this.faceQualityData = faceQualityData;
}
}
public BigDecimal getScore() {
return this.score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public List<FaceData> getFaceData() {
return this.faceData;
}
public void setFaceData(List<FaceData> faceData) {
this.faceData = faceData;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,171 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.FaceQualityData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.GenderData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.RaceData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.UygurData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class FaceDetectionResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("face_num")
@JSONField(name = "face_num")
private Integer faceNum;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("face_data")
@JSONField(name = "face_data")
private List<FaceData> faceData;
public Integer getFaceNum() {
return this.faceNum;
}
public void setFaceNum(Integer faceNum) {
this.faceNum = faceNum;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public List<FaceData> getFaceData() {
return this.faceData;
}
public void setFaceData(List<FaceData> faceData) {
this.faceData = faceData;
}
public static class FaceData implements Serializable {
@JsonProperty("face_image")
@JSONField(name = "face_image")
private String faceImage;
@JsonProperty("location_data")
@JSONField(name = "location_data")
private LocationData locationData;
@JsonProperty("angel_data")
@JSONField(name = "angel_data")
private AngleData angleData;
@JsonProperty("face_quality_data")
@JSONField(name = "face_quality_data")
private FaceQualityData faceQualityData;
@JsonProperty("age")
@JSONField(name = "age")
private Integer age;
@JsonProperty("gender_data")
@JSONField(name = "gender_data")
private GenderData genderData;
@JsonProperty("expression_data")
@JSONField(name = "expression_data")
private ExpressionData expressionData;
@JsonProperty("race_data")
@JSONField(name = "race_data")
private RaceData raceData;
@JsonProperty("uygur_data")
@JSONField(name = "uygur_data")
private UygurData uygurData;
public String getFaceImage() {
return this.faceImage;
}
public void setFaceImage(String faceImage) {
this.faceImage = faceImage;
}
public LocationData getLocationData() {
return this.locationData;
}
public void setLocationData(LocationData locationData) {
this.locationData = locationData;
}
public AngleData getAngleData() {
return this.angleData;
}
public void setAngleData(AngleData angleData) {
this.angleData = angleData;
}
public FaceQualityData getFaceQualityData() {
return this.faceQualityData;
}
public void setFaceQualityData(FaceQualityData faceQualityData) {
this.faceQualityData = faceQualityData;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public GenderData getGenderData() {
return this.genderData;
}
public void setGenderData(GenderData genderData) {
this.genderData = genderData;
}
public ExpressionData getExpressionData() {
return this.expressionData;
}
public void setExpressionData(ExpressionData expressionData) {
this.expressionData = expressionData;
}
public RaceData getRaceData() {
return this.raceData;
}
public void setRaceData(RaceData raceData) {
this.raceData = raceData;
}
public UygurData getUygurData() {
return this.uygurData;
}
public void setUygurData(UygurData uygurData) {
this.uygurData = uygurData;
}
}
}
@@ -0,0 +1,115 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
public class FaceFeatureCaptureResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("threshold")
@JSONField(name = "threshold")
private BigDecimal threshold;
@JsonProperty("face_data")
@JSONField(name = "face_data")
private List<FaceData> faceData;
public static class FaceData implements Serializable {
@JsonProperty("capture_id")
@JSONField(name = "capture_id")
private String captureId;
@JsonProperty("score")
@JSONField(name = "score")
private BigDecimal score;
@JsonProperty("name")
@JSONField(name = "name")
private String name;
@JsonProperty("sex")
@JSONField(name = "sex")
private Integer sex;
@JsonProperty("user_reserve_info")
@JSONField(name = "user_reserve_info")
private String userReserveInfo;
public BigDecimal getScore() {
return this.score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public String getCaptureId() {
return this.captureId;
}
public void setCaptureId(String captureId) {
this.captureId = captureId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getSex() {
return this.sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public String getUserReserveInfo() {
return this.userReserveInfo;
}
public void setUserReserveInfo(String userReserveInfo) {
this.userReserveInfo = userReserveInfo;
}
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public BigDecimal getThreshold() {
return this.threshold;
}
public void setThreshold(BigDecimal threshold) {
this.threshold = threshold;
}
public List<FaceData> getFaceData() {
return this.faceData;
}
public void setFaceData(List<FaceData> faceData) {
this.faceData = faceData;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class FaceRecognitionResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class FaceRegistionResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class GetServerTimeResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("local_time")
@JSONField(name = "local_time")
private Long localTime;
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getLocalTime() {
return this.localTime;
}
public void setLocalTime(Long localTime) {
this.localTime = localTime;
}
}
@@ -0,0 +1,242 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class GetUpgradeConfigResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("version_type")
@JSONField(name = "version_type")
private Integer versionType;
@JsonProperty("version")
@JSONField(name = "version")
private String version;
@JsonProperty("upgrade_type")
@JSONField(name = "upgrade_type")
private Integer upgradeType;
@JsonProperty("full_package_data")
@JSONField(name = "full_package_data")
private FullPackageData fullPackageData;
@JsonProperty("package_data")
@JSONField(name = "package_data")
private PackageData packageData;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("timelimit")
@JSONField(name = "timelimit")
private String timeLimit;
@JsonProperty("netlimit")
@JSONField(name = "netlimit")
private Integer netLimit;
@JsonProperty("fragmentsize")
@JSONField(name = "fragmentsize")
private Integer fragmentsize;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class FullPackageData implements Serializable {
@JsonProperty("package_url")
@JSONField(name = "package_url")
private String packageUrl;
@JsonProperty("package_length")
@JSONField(name = "package_length")
private Integer packageLength;
@JsonProperty("package_summary_type")
@JSONField(name = "package_summary_type")
private Integer packageSummaryType;
@JsonProperty("package_md5")
@JSONField(name = "package_md5")
private String packageMd5;
public Integer getPackageSummaryType() {
return this.packageSummaryType;
}
public void setPackageSummaryType(Integer packageSummaryType) {
this.packageSummaryType = packageSummaryType;
}
public String getPackageUrl() {
return this.packageUrl;
}
public void setPackageUrl(String packageUrl) {
this.packageUrl = packageUrl;
}
public Integer getPackageLength() {
return this.packageLength;
}
public void setPackageLength(Integer packageLength) {
this.packageLength = packageLength;
}
public String getPackageMd5() {
return this.packageMd5;
}
public void setPackageMd5(String packageMd5) {
this.packageMd5 = packageMd5;
}
}
public static class PackageData implements Serializable {
@JsonProperty("previous_version")
@JSONField(name = "previous_version")
private String previousVersion;
@JsonProperty("current_version")
@JSONField(name = "current_version")
private String currentVersion;
@JsonProperty("package_url")
@JSONField(name = "package_url")
private String packageUrl;
@JsonProperty("package_length")
@JSONField(name = "package_length")
private Integer packageLength;
@JsonProperty("package_summary_type")
@JSONField(name = "package_summary_type")
private Integer packageSummaryType;
@JsonProperty("package_md5")
@JSONField(name = "package_md5")
private String packageMd5;
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
public String getPackageUrl() {
return this.packageUrl;
}
public void setPackageUrl(String packageUrl) {
this.packageUrl = packageUrl;
}
public Integer getPackageLength() {
return this.packageLength;
}
public void setPackageLength(Integer packageLength) {
this.packageLength = packageLength;
}
public String getPackageMd5() {
return this.packageMd5;
}
public void setPackageMd5(String packageMd5) {
this.packageMd5 = packageMd5;
}
public Integer getPackageSummaryType() {
return this.packageSummaryType;
}
public void setPackageSummaryType(Integer packageSummaryType) {
this.packageSummaryType = packageSummaryType;
}
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Integer getUpgradeType() {
return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
this.upgradeType = upgradeType;
}
public FullPackageData getFullPackageData() {
return this.fullPackageData;
}
public void setFullPackageData(FullPackageData fullPackageData) {
this.fullPackageData = fullPackageData;
}
public PackageData getPackageData() {
return this.packageData;
}
public void setPackageData(PackageData packageData) {
this.packageData = packageData;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getTimeLimit() {
return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
this.netLimit = netLimit;
}
public Integer getFragmentsize() {
return this.fragmentsize;
}
public void setFragmentsize(Integer fragmentsize) {
this.fragmentsize = fragmentsize;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class PersonCardCompareResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportCpuResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,81 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class ReportDeviceInfoResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("version_data")
@JSONField(name = "version_data")
private List<VersionInfo> versionData;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public static class VersionInfo implements Serializable {
@JsonProperty("mode_type")
@JSONField(name = "mode_type")
private Integer modelType;
@JsonProperty("model_index")
@JSONField(name = "model_index")
private Integer modelIndex;
@JsonProperty("model_version")
@JSONField(name = "model_version")
private String modelVersion;
public Integer getModelType() {
return this.modelType;
}
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public Integer getModelIndex() {
return this.modelIndex;
}
public void setModelIndex(Integer modelIndex) {
this.modelIndex = modelIndex;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
public List<VersionInfo> getVersionData() {
return this.versionData;
}
public void setVersionData(List<VersionInfo> versionData) {
this.versionData = versionData;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportDeviceLocationResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportDiskInfoResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportGpuResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportHeartBeatResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportMemoryResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class ReportNetworkResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,29 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ReportOrderTypeResult {
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,51 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
public class RequestOrderTypeResult {
@JsonProperty("order_type")
@JSONField(name = "order_type")
private Integer orderType;
@JsonProperty("content")
@JSONField(name = "content")
private String content;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public Integer getOrderType() {
return this.orderType;
}
public void setOrderType(Integer orderType) {
this.orderType = orderType;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,55 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class RestartDeviceResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("is_restart")
@JSONField(name = "is_restart")
private Integer isRestart;
@JsonProperty("restart_time")
@JSONField(name = "restart_time")
private Long restartTime;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public Integer getIsRestart() {
return this.isRestart;
}
public void setIsRestart(Integer isRestart) {
this.isRestart = isRestart;
}
public Long getRestartTime() {
return this.restartTime;
}
public void setRestartTime(Long restartTime) {
this.restartTime = restartTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,240 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
public class RoiConfigResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotNull(message = "roi个数不能为空")
@JsonProperty("roi_count")
@JSONField(name = "roi_count")
private Integer roiCount;
@JsonProperty("height")
@JSONField(name = "height")
private Integer height;
@JsonProperty("width")
@JSONField(name = "width")
private Integer width;
@JsonProperty("type")
@JSONField(name = "type")
private String type;
@JsonProperty("method")
@JSONField(name = "method")
private Integer method;
@JsonProperty("has_panorama")
@JSONField(name = "has_panorama")
private Integer hasPanorama;
@JsonProperty("report_rate")
@JSONField(name = "report_rate")
private Integer reportRate;
@JsonProperty("roi_data")
@JSONField(name = "roi_data")
private List<RoiInfo> roiInfos;
public static class RoiInfo implements Serializable {
@JsonProperty("roi_id")
@JSONField(name = "roi_id")
private String roiId;
@JsonProperty("roi_name")
@JSONField(name = "roi_name")
private String roiName;
@JsonProperty("type")
@JSONField(name = "type")
private String type;
@JsonProperty("number")
@JSONField(name = "number")
private Integer number;
@JsonProperty("count")
@JSONField(name = "count")
private Integer count;
@JsonProperty("points")
@JSONField(name = "points")
private List<Point> points;
public static class Point implements Serializable {
@JsonProperty("x")
@JSONField(name = "x")
private Integer x;
@JsonProperty("y")
@JSONField(name = "y")
private Integer y;
@JsonProperty("w")
@JSONField(name = "w")
private Integer w;
@JsonProperty("h")
@JSONField(name = "h")
private Integer h;
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getW() {
return this.w;
}
public void setW(Integer w) {
this.w = w;
}
public Integer getH() {
return this.h;
}
public void setH(Integer h) {
this.h = h;
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getRoiId() {
return this.roiId;
}
public void setRoiId(String roiId) {
this.roiId = roiId;
}
public String getRoiName() {
return this.roiName;
}
public void setRoiName(String roiName) {
this.roiName = roiName;
}
public Integer getNumber() {
return this.number;
}
public void setNumber(Integer number) {
this.number = number;
}
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public List<Point> getPoints() {
return this.points;
}
public void setPoints(List<Point> points) {
this.points = points;
}
}
public Integer getHasPanorama() {
return this.hasPanorama;
}
public void setHasPanorama(Integer hasPanorama) {
this.hasPanorama = hasPanorama;
}
public Integer getReportRate() {
return this.reportRate;
}
public void setReportRate(Integer reportRate) {
this.reportRate = reportRate;
}
public List<RoiInfo> getRoiInfos() {
return this.roiInfos;
}
public void setRoiInfos(List<RoiInfo> roiInfos) {
this.roiInfos = roiInfos;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getRoiCount() {
return this.roiCount;
}
public void setRoiCount(Integer roiCount) {
this.roiCount = roiCount;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Integer getMethod() {
return this.method;
}
public void setMethod(Integer method) {
this.method = method;
}
}
@@ -0,0 +1,29 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
public class RoiUploadResult {
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,31 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class StructureCarUploadResult implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,31 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class StructureNoCarUploadResult implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,31 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class StructurePersonUploadResult implements Serializable {
private static final long serialVersionUID = -6357244428164766128L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
public String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,155 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class ThirdPartyGatewayQueryResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("device_data")
@JSONField(name = "device_data")
private List<DeviceDate> deviceData;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public List<DeviceDate> getDeviceData() {
return this.deviceData;
}
public void setDeviceData(List<DeviceDate> deviceData) {
this.deviceData = deviceData;
}
public static class DeviceDate implements Serializable {
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@JsonProperty("device_name")
@JSONField(name = "device_name")
private String deviceName;
@JsonProperty("device_type")
@JSONField(name = "device_type")
private String deviceType;
@JsonProperty("ip")
@JSONField(name = "ip")
private String ip;
@JsonProperty("port")
@JSONField(name = "port")
private String port;
@JsonProperty("name")
@JSONField(name = "name")
private String name;
@JsonProperty("password")
@JSONField(name = "password")
private String password;
@JsonProperty("api_key")
@JSONField(name = "api_key")
private String apiKey;
@JsonProperty("secert_key")
@JSONField(name = "secert_key")
private String secertKey;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getPort() {
return this.port;
}
public void setPort(String port) {
this.port = port;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getApiKey() {
return this.apiKey;
}
public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}
public String getSecertKey() {
return this.secertKey;
}
public void setSecertKey(String secertKey) {
this.secertKey = secertKey;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
}
}
@@ -0,0 +1,180 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class UpdateFeatureResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("feature_ver")
@JSONField(name = "feature_ver")
private String featureVer;
@JsonProperty("feature_len")
@JSONField(name = "feature_len")
private Integer featureLen;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pagePize;
@JsonProperty("total_pages")
@JSONField(name = "total_pages")
private Integer totalPages;
@JsonProperty("end_flag")
@JSONField(name = "end_flag")
private Integer endFlag;
@JsonProperty("feature_data")
@JSONField(name = "feature_data")
private List<FeatureData> featureData;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class FeatureData implements Serializable {
@JsonProperty("face_id")
@JSONField(name = "face_id")
private String faceId;
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
@JsonProperty("timestamp")
@JSONField(name = "timestamp")
private Long timestamp;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public String getFaceId() {
return this.faceId;
}
public void setFaceId(String faceId) {
this.faceId = faceId;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getFeatureVer() {
return this.featureVer;
}
public void setFeatureVer(String featureVer) {
this.featureVer = featureVer;
}
public Integer getFeatureLen() {
return this.featureLen;
}
public void setFeatureLen(Integer featureLen) {
this.featureLen = featureLen;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPagePize() {
return this.pagePize;
}
public void setPagePize(Integer pagePize) {
this.pagePize = pagePize;
}
public Integer getTotalPages() {
return this.totalPages;
}
public void setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
}
public Integer getEndFlag() {
return this.endFlag;
}
public void setEndFlag(Integer endFlag) {
this.endFlag = endFlag;
}
public List<FeatureData> getFeatureData() {
return this.featureData;
}
public void setFeatureData(List<FeatureData> featureData) {
this.featureData = featureData;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,81 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class UpdateGroupResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("groups")
@JSONField(name = "groups")
private List<Group> groups;
public static class Group implements Serializable {
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("group_info")
@JSONField(name = "group_info")
private String groupInfo;
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getGroupInfo() {
return this.groupInfo;
}
public void setGroupInfo(String groupInfo) {
this.groupInfo = groupInfo;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public List<Group> getGroups() {
return this.groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
}
@@ -0,0 +1,516 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
public class UpdatePersonResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pagePize;
@JsonProperty("total_pages")
@JSONField(name = "total_pages")
private Integer totalPages;
@JsonProperty("end_flag")
@JSONField(name = "end_flag")
private Integer endFlag;
@JsonProperty("person_data")
@JSONField(name = "person_data")
private List<PersonData> personDatas;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class PersonData implements Serializable {
@JsonProperty("user_id")
@JSONField(name = "user_id")
private String userId;
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@JsonProperty("status")
@JSONField(name = "status")
private Integer status;
@JsonProperty("user_type")
@JSONField(name = "user_type")
private Integer userType;
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("group_name")
@JSONField(name = "group_name")
private String groupName;
@JsonProperty("name")
@JSONField(name = "name")
private String name;
@JsonProperty("sex")
@JSONField(name = "sex")
private Integer sex;
@JsonProperty("folk")
@JSONField(name = "folk")
private String folk;
@JsonProperty("birthday")
@JSONField(name = "birthday")
private String birthday;
@JsonProperty("card_info")
@JSONField(name = "card_info")
private List<CardInfo> cardInfos;
@JsonProperty("tip_message")
@JSONField(name = "tip_message")
private String tipMessage;
@JsonProperty("mobile_number")
@JSONField(name = "mobile_number")
private String mobileNumber;
@JsonProperty("mobile_mac")
@JSONField(name = "mobile_mac")
private String mobileMac;
@JsonProperty("create_date")
@JSONField(name = "create_date")
private String createDate;
@JsonProperty("face_data")
@JSONField(name = "face_data")
private List<FaceData> faceData;
@JsonProperty("show_image")
@JSONField(name = "show_image")
private UpdatePersonResult.ImageData showImage;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
@JsonProperty("timestamp")
@JSONField(name = "timestamp")
private Long timestamp;
@JsonProperty("expiry_begin_date")
@JSONField(name = "expiry_begin_date")
private Long expiryBeginDate;
@JsonProperty("expiry_end_date")
@JSONField(name = "expiry_end_date")
private Long expiryEndDate;
public static class FaceData implements Serializable {
@JsonProperty("face_id")
@JSONField(name = "face_id")
private String faceId;
@JsonProperty("image_data")
@JSONField(name = "image_data")
private UpdatePersonResult.ImageData imageData;
@JsonProperty("picture_url")
@JSONField(name = "picture_url")
private String pictureUrl;
@JsonProperty("feature_version")
@JSONField(name = "feature_version")
private String featureVersion;
@JsonProperty("feature")
@JSONField(name = "feature")
private String feature;
public String getFaceId() {
return this.faceId;
}
public void setFaceId(String faceId) {
this.faceId = faceId;
}
public UpdatePersonResult.ImageData getImageData() {
return this.imageData;
}
public void setImageData(UpdatePersonResult.ImageData imageData) {
this.imageData = imageData;
}
public String getPictureUrl() {
return this.pictureUrl;
}
public void setPictureUrl(String pictureUrl) {
this.pictureUrl = pictureUrl;
}
public String getFeatureVersion() {
return this.featureVersion;
}
public void setFeatureVersion(String featureVersion) {
this.featureVersion = featureVersion;
}
public String getFeature() {
return this.feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
}
public static class CardInfo implements Serializable {
@JsonProperty("card_number")
@JSONField(name = "card_number")
private String cardNumber;
@JsonProperty("card_addr")
@JSONField(name = "card_addr")
private String cardAddr;
@JsonProperty("card_type")
@JSONField(name = "card_type")
private String cardType;
@JsonProperty("validdate1")
@JSONField(name = "validdate1")
private String validdate1;
@Size(max = 8)
@JsonProperty("validdate2")
@JSONField(name = "validdate2")
private String validdate2;
@JsonProperty("authority")
@JSONField(name = "authority")
private String authority;
public String getCardNumber() {
return this.cardNumber;
}
public void setCardNumber(String cardNumber) {
this.cardNumber = cardNumber;
}
public String getCardAddr() {
return this.cardAddr;
}
public void setCardAddr(String cardAddr) {
this.cardAddr = cardAddr;
}
public String getValiddate1() {
return this.validdate1;
}
public void setValiddate1(String validdate1) {
this.validdate1 = validdate1;
}
public String getValiddate2() {
return this.validdate2;
}
public void setValiddate2(String validdate2) {
this.validdate2 = validdate2;
}
public String getAuthority() {
return this.authority;
}
public void setAuthority(String authority) {
this.authority = authority;
}
public String getCardType() {
return this.cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
}
public Long getExpiryBeginDate() {
return this.expiryBeginDate;
}
public void setExpiryBeginDate(Long expiryBeginDate) {
this.expiryBeginDate = expiryBeginDate;
}
public Long getExpiryEndDate() {
return this.expiryEndDate;
}
public void setExpiryEndDate(Long expiryEndDate) {
this.expiryEndDate = expiryEndDate;
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getUserType() {
return this.userType;
}
public void setUserType(Integer userType) {
this.userType = userType;
}
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getSex() {
return this.sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public String getFolk() {
return this.folk;
}
public void setFolk(String folk) {
this.folk = folk;
}
public String getBirthday() {
return this.birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getTipMessage() {
return this.tipMessage;
}
public void setTipMessage(String tipMessage) {
this.tipMessage = tipMessage;
}
public String getMobileNumber() {
return this.mobileNumber;
}
public void setMobileNumber(String mobileNumber) {
this.mobileNumber = mobileNumber;
}
public String getMobileMac() {
return this.mobileMac;
}
public void setMobileMac(String mobileMac) {
this.mobileMac = mobileMac;
}
public String getCreateDate() {
return this.createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public List<FaceData> getFaceData() {
return this.faceData;
}
public void setFaceData(List<FaceData> faceData) {
this.faceData = faceData;
}
public UpdatePersonResult.ImageData getShowImage() {
return this.showImage;
}
public void setShowImage(UpdatePersonResult.ImageData showImage) {
this.showImage = showImage;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public List<CardInfo> getCardInfos() {
return this.cardInfos;
}
public void setCardInfos(List<CardInfo> cardInfos) {
this.cardInfos = cardInfos;
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
}
public static class ImageData implements Serializable {
@JsonProperty("image_url")
@JSONField(name = "image_url")
private String imageUrl;
public Integer getImageType() {
return this.imageType;
}
@JsonProperty("image_type")
@JSONField(name = "image_type")
private Integer imageType;
@JsonProperty("image")
@JSONField(name = "image")
private String image;
public void setImageType(Integer imageType) {
this.imageType = imageType;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public String getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPagePize() {
return this.pagePize;
}
public void setPagePize(Integer pagePize) {
this.pagePize = pagePize;
}
public Integer getTotalPages() {
return this.totalPages;
}
public void setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
}
public List<PersonData> getPersonDatas() {
return this.personDatas;
}
public void setPersonDatas(List<PersonData> personDatas) {
this.personDatas = personDatas;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public Integer getEndFlag() {
return this.endFlag;
}
public void setEndFlag(Integer endFlag) {
this.endFlag = endFlag;
}
}
@@ -0,0 +1,205 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
public class UpdatePictureResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("group_id")
@JSONField(name = "group_id")
private String groupId;
@JsonProperty("current_page")
@JSONField(name = "current_page")
private Integer currentPage;
@JsonProperty("page_size")
@JSONField(name = "page_size")
private Integer pageSize;
@JsonProperty("total_pages")
@JSONField(name = "total_pages")
private Integer totalPages;
@JsonProperty("end_flag")
@JSONField(name = "end_flag")
private Integer endFlag;
@JsonProperty("image_data")
@JSONField(name = "image_data")
private List<ImageData> imageData;
@JsonProperty("timestamp")
@JSONField(name = "timestamp")
private Long timestamp;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
public static class ImageData implements Serializable {
@JsonProperty("face_id")
@JSONField(name = "face_id")
private String faceId;
@JsonProperty("type")
@JSONField(name = "type")
private Integer type;
@JsonProperty("picture_data")
@JSONField(name = "picture_data")
private PictureData pictureData;
@JsonProperty("picture_url")
@JSONField(name = "picture_url")
private String pictureUrl;
@JsonProperty("timestamp")
@JSONField(name = "timestamp")
private Long timestamp;
@JsonProperty("sequence_id")
@JSONField(name = "sequence_id")
private Long sequenceId;
public static class PictureData implements Serializable {
@JsonProperty("image_type")
@JSONField(name = "image_type")
private Integer imageType;
@JsonProperty("image")
@JSONField(name = "image")
private String image;
public Integer getImageType() {
return this.imageType;
}
public void setImageType(Integer imageType) {
this.imageType = imageType;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
}
public Long getSequenceId() {
return this.sequenceId;
}
public void setSequenceId(Long sequenceId) {
this.sequenceId = sequenceId;
}
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public String getFaceId() {
return this.faceId;
}
public void setFaceId(String faceId) {
this.faceId = faceId;
}
public PictureData getPictureData() {
return this.pictureData;
}
public void setPictureData(PictureData pictureData) {
this.pictureData = pictureData;
}
public String getPictureUrl() {
return this.pictureUrl;
}
public void setPictureUrl(String pictureUrl) {
this.pictureUrl = pictureUrl;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
}
public Integer getEndFlag() {
return this.endFlag;
}
public void setEndFlag(Integer endFlag) {
this.endFlag = endFlag;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalPages() {
return this.totalPages;
}
public void setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
}
public List<ImageData> getImageData() {
return this.imageData;
}
public void setImageData(List<ImageData> imageData) {
this.imageData = imageData;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class UpdateTokenResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("access_token")
@JSONField(name = "access_token")
private String accessToken;
@JsonProperty("refresh_token")
@JSONField(name = "refresh_token")
private String refreshToken;
@JsonProperty("expires_in")
@JSONField(name = "expires_in")
private Long expiresIn;
@JsonProperty("encryption_type")
@JSONField(name = "encryption_type")
private Integer encryptionType;
@JsonProperty("secret_key")
@JSONField(name = "secret_key")
private String secretKey;
@JsonProperty("salt")
@JSONField(name = "salt")
private String salt;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public String getRefreshToken() {
return this.refreshToken;
}
public void setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
}
public Long getExpiresIn() {
return this.expiresIn;
}
public void setExpiresIn(Long expiresIn) {
this.expiresIn = expiresIn;
}
public Integer getEncryptionType() {
return this.encryptionType;
}
public void setEncryptionType(Integer encryptionType) {
this.encryptionType = encryptionType;
}
public String getSecretKey() {
return this.secretKey;
}
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
public String getSalt() {
return this.salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class UploadLogResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class UploadPanoramaResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class UploadUpgradeLogResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class UploadVideoFragmentResult implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.VideoStructureInfoData;
import java.util.List;
public class VideoStructureNonVehicleResult {
private String objectId;
private String cameraId;
private List<VideoStructurePersonResult> passengers;
private VideoStructureInfoData nonVehicle;
public String getObjectId() {
return this.objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getCameraId() {
return this.cameraId;
}
public void setCameraId(String cameraId) {
this.cameraId = cameraId;
}
public List<VideoStructurePersonResult> getPassengers() {
return this.passengers;
}
public void setPassengers(List<VideoStructurePersonResult> passengers) {
this.passengers = passengers;
}
public VideoStructureInfoData getNonVehicle() {
return this.nonVehicle;
}
public void setNonVehicle(VideoStructureInfoData nonVehicle) {
this.nonVehicle = nonVehicle;
}
}
@@ -0,0 +1,51 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.VideoStructureInfoData;
public class VideoStructurePersonResult {
private String objectId;
private String cameraId;
private String reserveInfo;
private VideoStructureInfoData face;
private VideoStructureInfoData body;
public String getObjectId() {
return this.objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getCameraId() {
return this.cameraId;
}
public void setCameraId(String cameraId) {
this.cameraId = cameraId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public VideoStructureInfoData getFace() {
return this.face;
}
public void setFace(VideoStructureInfoData face) {
this.face = face;
}
public VideoStructureInfoData getBody() {
return this.body;
}
public void setBody(VideoStructureInfoData body) {
this.body = body;
}
}
@@ -0,0 +1,86 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.result;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.BoxData;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.VideoStructureInfoData;
import java.util.List;
import java.util.Map;
public class VideoStructureVehicleResult {
private String objectId;
private String cameraId;
private List<VideoStructurePersonResult> passengers;
private VideoStructureInfoData vehicle;
private VehiclePlate plate;
public String getObjectId() {
return this.objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getCameraId() {
return this.cameraId;
}
public void setCameraId(String cameraId) {
this.cameraId = cameraId;
}
public List<VideoStructurePersonResult> getPassengers() {
return this.passengers;
}
public void setPassengers(List<VideoStructurePersonResult> passengers) {
this.passengers = passengers;
}
public VideoStructureInfoData getVehicle() {
return this.vehicle;
}
public void setVehicle(VideoStructureInfoData vehicle) {
this.vehicle = vehicle;
}
public VehiclePlate getPlate() {
return this.plate;
}
public void setPlate(VehiclePlate plate) {
this.plate = plate;
}
public static class VehiclePlate {
private Byte[] objPic;
private BoxData box;
private Map<String, VideoStructureInfoData.Attrs> attrs;
public Byte[] getObjPic() {
return this.objPic;
}
public void setObjPic(Byte[] objPic) {
this.objPic = objPic;
}
public BoxData getBox() {
return this.box;
}
public void setBox(BoxData box) {
this.box = box;
}
public Map<String, VideoStructureInfoData.Attrs> getAttrs() {
return this.attrs;
}
public void setAttrs(Map<String, VideoStructureInfoData.Attrs> attrs) {
this.attrs = attrs;
}
}
}
@@ -0,0 +1,112 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.innovate.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class AnnouncementReportParam implements Serializable {
private static final long serialVersionUID = 4072195743447986648L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@NotBlank(message = "54000201")
@Size(max = 32, message = "54000202")
@JsonProperty("announcement_id")
@JSONField(name = "announcement_id")
private String announcementId;
@NotNull(message = "52001074")
@JsonProperty("last_update_time")
@JSONField(name = "last_update_time")
private Long lastUpdateTime;
@NotBlank(message = "52001056")
@Size(min = 1, max = 32, message = "52001076")
@JsonProperty("code")
@JSONField(name = "code")
private String code;
@NotBlank(message = "52001057")
@Size(min = 1, max = 120, message = "52001058")
@JsonProperty("message")
@JSONField(name = "message")
private String message;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getAnnouncementId() {
return this.announcementId;
}
public void setAnnouncementId(String announcementId) {
this.announcementId = announcementId;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@@ -0,0 +1,341 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.innovate.param;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class HeadShoulderUploadParam implements Serializable {
private static final long serialVersionUID = 45291553137440916L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@Valid
@NotNull(message = "54000204")
@JsonProperty("device_data")
@JSONField(name = "device_data")
private List<deviceData> deviceDatas;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<deviceData> getDeviceDatas() {
return this.deviceDatas;
}
public void setDeviceDatas(List<deviceData> deviceDatas) {
this.deviceDatas = deviceDatas;
}
public static class deviceData implements Serializable {
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@JsonProperty("head_mode")
@JSONField(name = "head_mode")
private Integer headMode;
@JsonProperty("head_count")
@JSONField(name = "head_count")
private Integer headCount;
@JsonProperty("panorama_data")
@JSONField(name = "panorama_data")
@Valid
private PanoramaData panoramaData;
@JsonProperty("roi_data")
@JSONField(name = "roi_data")
@Valid
private RoiData roiData;
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public Integer getHeadMode() {
return this.headMode;
}
public void setHeadMode(Integer headMode) {
this.headMode = headMode;
}
public Integer getHeadCount() {
return this.headCount;
}
public void setHeadCount(Integer headCount) {
this.headCount = headCount;
}
public PanoramaData getPanoramaData() {
return this.panoramaData;
}
public void setPanoramaData(PanoramaData panoramaData) {
this.panoramaData = panoramaData;
}
public RoiData getRoiData() {
return this.roiData;
}
public void setRoiData(RoiData roiData) {
this.roiData = roiData;
}
public static class PanoramaData implements Serializable {
@JSONField(name = "panorama_id")
@JsonProperty("panorama_id")
private String panoramaId;
@JSONField(name = "panorama_image")
@JsonProperty("panorama_image")
private String panoramaImage;
public String getPanoramaId() {
return this.panoramaId;
}
public void setPanoramaId(String panoramaId) {
this.panoramaId = panoramaId;
}
public String getPanoramaImage() {
return this.panoramaImage;
}
public void setPanoramaImage(String panoramaImage) {
this.panoramaImage = panoramaImage;
}
}
public static class RoiData implements Serializable {
@JsonProperty("roi_id")
@JSONField(name = "roi_id")
private String roiId;
@JsonProperty("head_count")
@JSONField(name = "head_count")
private Integer headCount;
@JsonProperty("position")
@JSONField(name = "position")
private HeadShoulderUploadParam.deviceData.Position position;
@JsonProperty("head_data")
@JSONField(name = "head_data")
private HeadShoulderUploadParam.deviceData.HeadData headData;
public String getRoiId() {
return this.roiId;
}
public void setRoiId(String roiId) {
this.roiId = roiId;
}
public Integer getHeadCount() {
return this.headCount;
}
public void setHeadCount(Integer headCount) {
this.headCount = headCount;
}
public HeadShoulderUploadParam.deviceData.Position getPosition() {
return this.position;
}
public void setPosition(HeadShoulderUploadParam.deviceData.Position position) {
this.position = position;
}
public HeadShoulderUploadParam.deviceData.HeadData getHeadData() {
return this.headData;
}
public void setHeadData(HeadShoulderUploadParam.deviceData.HeadData headData) {
this.headData = headData;
}
}
public static class Position implements Serializable {
@JsonProperty("x")
@JSONField(name = "x")
private Integer x;
@JsonProperty("y")
@JSONField(name = "y")
private Integer y;
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
}
public static class HeadData implements Serializable {
@JsonProperty("roi_id")
@JSONField(name = "roi_id")
private String roiId;
@JsonProperty("x")
@JSONField(name = "x")
private Integer x;
@JsonProperty("y")
@JSONField(name = "y")
private Integer y;
@JsonProperty("width")
@JSONField(name = "width")
private Integer width;
@JsonProperty("height")
@JSONField(name = "height")
private Integer height;
@JsonProperty("direction")
@JSONField(name = "direction")
private Integer direction;
@JsonProperty("speed")
@JSONField(name = "speed")
private Integer speed;
@JsonProperty("detect_id")
@JSONField(name = "detect_id")
private String detectId;
public String getRoiId() {
return this.roiId;
}
public void setRoiId(String roiId) {
this.roiId = roiId;
}
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public Integer getDirection() {
return this.direction;
}
public void setDirection(Integer direction) {
this.direction = direction;
}
public Integer getSpeed() {
return this.speed;
}
public void setSpeed(Integer speed) {
this.speed = speed;
}
public String getDetectId() {
return this.detectId;
}
public void setDetectId(String detectId) {
this.detectId = detectId;
}
}
}
}
@@ -0,0 +1,170 @@
package cn.cloudwalk.device.sdk.protocol.entity.v2proto.innovate.param;
import cn.cloudwalk.device.sdk.protocol.entity.v2proto.http.LocationData;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class HelmetAlarmUploadParam implements Serializable {
private static final long serialVersionUID = 45291553137440916L;
@NotBlank(message = "52001000")
@Size(min = 1, max = 64, message = "52001008")
@JsonProperty("device_id")
@JSONField(name = "device_id")
private String deviceId;
@Size(max = 64, message = "52001009")
@JsonProperty("sub_device_id")
@JSONField(name = "sub_device_id")
private String subDeviceId;
@Size(max = 32, message = "54000000")
@JsonProperty("channel_id")
@JSONField(name = "channel_id")
private String channelId;
@NotNull(message = "54000001")
@JsonProperty("total")
@JSONField(name = "total")
private Integer total;
@NotNull(message = "54000002")
@JsonProperty("without_num")
@JSONField(name = "without_num")
private Integer withoutNum;
@NotBlank(message = "54000003")
@JsonProperty("image_str")
@JSONField(name = "image_str")
private String imageStr;
@NotNull(message = "54000004")
@JsonProperty("alarm_time")
@JSONField(name = "alarm_time")
private Long alarmTime;
@Size(max = 32, message = "52001011")
@JsonProperty("log_id")
@JSONField(name = "log_id")
private String logId;
@Size(max = 512, message = "52001010")
@JsonProperty("reserve_info")
@JSONField(name = "reserve_info")
private String reserveInfo;
@JsonProperty("helmets")
@JSONField(name = "helmets")
private List<helmetsData> helmets;
public static class helmetsData implements Serializable {
@JsonProperty("image_str")
@JSONField(name = "image_str")
private String ImageStr;
@JsonProperty("location")
@JSONField(name = "location")
private LocationData location;
@JsonProperty("is_helmet_on")
@JSONField(name = "is_helmet_on")
private Integer IsHelmetOn;
public String getImageStr() {
return this.ImageStr;
}
public void setImageStr(String imageStr) {
this.ImageStr = imageStr;
}
public LocationData getLocation() {
return this.location;
}
public void setLocation(LocationData location) {
this.location = location;
}
public Integer getIsHelmetOn() {
return this.IsHelmetOn;
}
public void setIsHelmetOn(Integer isHelmetOn) {
this.IsHelmetOn = isHelmetOn;
}
}
public List<helmetsData> getHelmets() {
return this.helmets;
}
public void setHelmets(List<helmetsData> helmets) {
this.helmets = helmets;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getSubDeviceId() {
return this.subDeviceId;
}
public void setSubDeviceId(String subDeviceId) {
this.subDeviceId = subDeviceId;
}
public String getChannelId() {
return this.channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
public Integer getWithoutNum() {
return this.withoutNum;
}
public void setWithoutNum(Integer withoutNum) {
this.withoutNum = withoutNum;
}
public String getImageStr() {
return this.imageStr;
}
public void setImageStr(String imageStr) {
this.imageStr = imageStr;
}
public Long getAlarmTime() {
return this.alarmTime;
}
public void setAlarmTime(Long alarmTime) {
this.alarmTime = alarmTime;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}

Some files were not shown because too many files have changed in this diff Show More