public static final class GetFileDetectResultResponseBody.ResultList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetFileDetectResultResponseBody.ResultList |
build() |
GetFileDetectResultResponseBody.ResultList.Builder |
code(String code)
The status code returned.
|
GetFileDetectResultResponseBody.ResultList.Builder |
compress(Boolean compress)
Whether to identify as a compressed package.
|
GetFileDetectResultResponseBody.ResultList.Builder |
ext(String ext)
The extended information about the file detection result.
|
GetFileDetectResultResponseBody.ResultList.Builder |
hashKey(String hashKey)
The identifier of the file.
|
GetFileDetectResultResponseBody.ResultList.Builder |
message(String message)
The error message returned.
|
GetFileDetectResultResponseBody.ResultList.Builder |
result(Integer result)
The file detection result.
|
GetFileDetectResultResponseBody.ResultList.Builder |
score(Integer score)
The score of file detection result.
|
GetFileDetectResultResponseBody.ResultList.Builder |
virusType(String virusType)
The type of the virus.
|
public GetFileDetectResultResponseBody.ResultList.Builder code(String code)
The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.
example:200
public GetFileDetectResultResponseBody.ResultList.Builder compress(Boolean compress)
Whether to identify as a compressed package. Valid values:
false
public GetFileDetectResultResponseBody.ResultList.Builder ext(String ext)
The extended information about the file detection result.
example:{"HighLight":[[23245,23212]]}
public GetFileDetectResultResponseBody.ResultList.Builder hashKey(String hashKey)
The identifier of the file. Only MD5 hash values are supported.
example:0a212417e65c26ff133cfff28f6c****
public GetFileDetectResultResponseBody.ResultList.Builder message(String message)
The error message returned.
example:successful
public GetFileDetectResultResponseBody.ResultList.Builder result(Integer result)
The file detection result. Valid values:
0
public GetFileDetectResultResponseBody.ResultList.Builder score(Integer score)
The score of file detection result.
example:A higher score indicates a more suspicious file.
100
public GetFileDetectResultResponseBody.ResultList.Builder virusType(String virusType)
The type of the virus. Valid values:
WEBSHELL
public GetFileDetectResultResponseBody.ResultList build()
Copyright © 2026. All rights reserved.