com.aliyun.cloud_siem20220616.models.DescribeEntityInfoResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cloud_siem20220616.models;
import com.aliyun.tea.*;
public class DescribeEntityInfoResponseBody extends TeaModel {
/**
* The HTTP status code.
*
* example:
* 200
*/
@NameInMap("Code")
public Integer code;
/**
* The data returned.
*
* example:
* 123456
*/
@NameInMap("Data")
public DescribeEntityInfoResponseBodyData data;
/**
* The returned message.
*
* example:
* success
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* 9AAA9ED9-78F4-5021-86DC-D51C7511****
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static DescribeEntityInfoResponseBody build(java.util.Map map) throws Exception {
DescribeEntityInfoResponseBody self = new DescribeEntityInfoResponseBody();
return TeaModel.build(map, self);
}
public DescribeEntityInfoResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeEntityInfoResponseBody setData(DescribeEntityInfoResponseBodyData data) {
this.data = data;
return this;
}
public DescribeEntityInfoResponseBodyData getData() {
return this.data;
}
public DescribeEntityInfoResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeEntityInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeEntityInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeEntityInfoResponseBodyData extends TeaModel {
/**
* The logical ID of the entity.
*
* example:
* 12345
*/
@NameInMap("EntityId")
public Long entityId;
/**
* The information about the entry.
*
* example:
* { location: "xian", net_connect_dir: "in", malware_type: "${aliyun.siem.sas.alert_tag.login_unusual_account}" }
*/
@NameInMap("EntityInfo")
public java.util.Map entityInfo;
/**
* The type of the entity. Valid values:
*
* - ip
* - domain
* - url
* - process
* - file
* - host
*
*
* example:
* ip
*/
@NameInMap("EntityType")
public String entityType;
/**
* The information about the risk Intelligence.
*
* example:
* {
* "Ip": {
* "queryHot": "0",
* "country": "China",
* "province": "shanxi",
* "ip": "221.11.XX.XXX",
* "asn": "4837",
* "asn_label": "CHINAXXX-Backbone - CHINA UNICOM ChinaXXX Backbone, CN"
* }
* }
*/
@NameInMap("TipInfo")
public java.util.Map tipInfo;
public static DescribeEntityInfoResponseBodyData build(java.util.Map map) throws Exception {
DescribeEntityInfoResponseBodyData self = new DescribeEntityInfoResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeEntityInfoResponseBodyData setEntityId(Long entityId) {
this.entityId = entityId;
return this;
}
public Long getEntityId() {
return this.entityId;
}
public DescribeEntityInfoResponseBodyData setEntityInfo(java.util.Map entityInfo) {
this.entityInfo = entityInfo;
return this;
}
public java.util.Map getEntityInfo() {
return this.entityInfo;
}
public DescribeEntityInfoResponseBodyData setEntityType(String entityType) {
this.entityType = entityType;
return this;
}
public String getEntityType() {
return this.entityType;
}
public DescribeEntityInfoResponseBodyData setTipInfo(java.util.Map tipInfo) {
this.tipInfo = tipInfo;
return this;
}
public java.util.Map getTipInfo() {
return this.tipInfo;
}
}
}