com.volcengine.model.response.AdBlockerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.response;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.List;
@Data
public class AdBlockerResponse {
@JSONField(name = "ResponseMetadata")
ResponseMetadata responseMetadata;
@JSONField(name = "Result")
RiskDetectionResult result;
@Data
public static class RiskDetectionResult {
@JSONField(name = "RequestId")
private String requestId;
@JSONField(name = "Code")
private Integer code;
@JSONField(name = "Message")
private String message;
@JSONField(name = "Data")
private DecisionData data;
}
@Data
public static class DecisionData {
@JSONField(name = "Decision")
private String decision;
@JSONField(name = "Tags")
private List tags;
@JSONField(name = "Detail")
private String detail;
@JSONField(name = "Contexts")
private List contexts;
}
@Data
public static class Context {
@JSONField(name = "MatchedWords")
private List matchedWords;
@JSONField(name = "LibName")
private String libName;
@JSONField(name = "Description")
private String description;
@JSONField(name = "Positions")
private List positions;
}
@Data
public static class Position {
@JSONField(name = "StartPos")
private Integer startPos;
@JSONField(name = "EndPos")
private Integer endPos;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy