
com.tencentcloudapi.cms.v20190321.models.FileSampleInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cms.v20190321.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class FileSampleInfo extends AbstractModel{
/**
* 处理错误码
*/
@SerializedName("Code")
@Expose
private Long Code;
/**
* 创建时间戳
*/
@SerializedName("CreatedAt")
@Expose
private Long CreatedAt;
/**
* 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
*/
@SerializedName("EvilType")
@Expose
private Long EvilType;
/**
* 文件的md5
*/
@SerializedName("FileMd5")
@Expose
private String FileMd5;
/**
* 文件名称
*/
@SerializedName("FileName")
@Expose
private String FileName;
/**
* 文件类型
*/
@SerializedName("FileType")
@Expose
private String FileType;
/**
* 唯一标识
*/
@SerializedName("Id")
@Expose
private String Id;
/**
* 样本类型
1:黑库
2:白库
*/
@SerializedName("Label")
@Expose
private Long Label;
/**
* 任务状态
1:添加完成
2:添加处理中
3:下载中
4:下载完成
5:上传完成
6:步骤完成
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 文件压缩后云url
*/
@SerializedName("CompressFileUrl")
@Expose
private String CompressFileUrl;
/**
* 文件的url
*/
@SerializedName("FileUrl")
@Expose
private String FileUrl;
/**
* Get 处理错误码
* @return Code 处理错误码
*/
public Long getCode() {
return this.Code;
}
/**
* Set 处理错误码
* @param Code 处理错误码
*/
public void setCode(Long Code) {
this.Code = Code;
}
/**
* Get 创建时间戳
* @return CreatedAt 创建时间戳
*/
public Long getCreatedAt() {
return this.CreatedAt;
}
/**
* Set 创建时间戳
* @param CreatedAt 创建时间戳
*/
public void setCreatedAt(Long CreatedAt) {
this.CreatedAt = CreatedAt;
}
/**
* Get 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
* @return EvilType 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
*/
public Long getEvilType() {
return this.EvilType;
}
/**
* Set 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
* @param EvilType 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
*/
public void setEvilType(Long EvilType) {
this.EvilType = EvilType;
}
/**
* Get 文件的md5
* @return FileMd5 文件的md5
*/
public String getFileMd5() {
return this.FileMd5;
}
/**
* Set 文件的md5
* @param FileMd5 文件的md5
*/
public void setFileMd5(String FileMd5) {
this.FileMd5 = FileMd5;
}
/**
* Get 文件名称
* @return FileName 文件名称
*/
public String getFileName() {
return this.FileName;
}
/**
* Set 文件名称
* @param FileName 文件名称
*/
public void setFileName(String FileName) {
this.FileName = FileName;
}
/**
* Get 文件类型
* @return FileType 文件类型
*/
public String getFileType() {
return this.FileType;
}
/**
* Set 文件类型
* @param FileType 文件类型
*/
public void setFileType(String FileType) {
this.FileType = FileType;
}
/**
* Get 唯一标识
* @return Id 唯一标识
*/
public String getId() {
return this.Id;
}
/**
* Set 唯一标识
* @param Id 唯一标识
*/
public void setId(String Id) {
this.Id = Id;
}
/**
* Get 样本类型
1:黑库
2:白库
* @return Label 样本类型
1:黑库
2:白库
*/
public Long getLabel() {
return this.Label;
}
/**
* Set 样本类型
1:黑库
2:白库
* @param Label 样本类型
1:黑库
2:白库
*/
public void setLabel(Long Label) {
this.Label = Label;
}
/**
* Get 任务状态
1:添加完成
2:添加处理中
3:下载中
4:下载完成
5:上传完成
6:步骤完成
* @return Status 任务状态
1:添加完成
2:添加处理中
3:下载中
4:下载完成
5:上传完成
6:步骤完成
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 任务状态
1:添加完成
2:添加处理中
3:下载中
4:下载完成
5:上传完成
6:步骤完成
* @param Status 任务状态
1:添加完成
2:添加处理中
3:下载中
4:下载完成
5:上传完成
6:步骤完成
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 文件压缩后云url
* @return CompressFileUrl 文件压缩后云url
*/
public String getCompressFileUrl() {
return this.CompressFileUrl;
}
/**
* Set 文件压缩后云url
* @param CompressFileUrl 文件压缩后云url
*/
public void setCompressFileUrl(String CompressFileUrl) {
this.CompressFileUrl = CompressFileUrl;
}
/**
* Get 文件的url
* @return FileUrl 文件的url
*/
public String getFileUrl() {
return this.FileUrl;
}
/**
* Set 文件的url
* @param FileUrl 文件的url
*/
public void setFileUrl(String FileUrl) {
this.FileUrl = FileUrl;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Code", this.Code);
this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt);
this.setParamSimple(map, prefix + "EvilType", this.EvilType);
this.setParamSimple(map, prefix + "FileMd5", this.FileMd5);
this.setParamSimple(map, prefix + "FileName", this.FileName);
this.setParamSimple(map, prefix + "FileType", this.FileType);
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "Label", this.Label);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "CompressFileUrl", this.CompressFileUrl);
this.setParamSimple(map, prefix + "FileUrl", this.FileUrl);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy