
com.tencentcloudapi.tmt.v20180321.models.GetFileTranslateData 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.tmt.v20180321.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class GetFileTranslateData extends AbstractModel{
/**
* 任务ID
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* 状态
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 文件数据
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("FileData")
@Expose
private String FileData;
/**
* 错误提示
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Message")
@Expose
private String Message;
/**
* 翻译进度
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Progress")
@Expose
private Long Progress;
/**
* Get 任务ID
* @return TaskId 任务ID
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set 任务ID
* @param TaskId 任务ID
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get 状态
* @return Status 状态
*/
public String getStatus() {
return this.Status;
}
/**
* Set 状态
* @param Status 状态
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 文件数据
注意:此字段可能返回 null,表示取不到有效值。
* @return FileData 文件数据
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getFileData() {
return this.FileData;
}
/**
* Set 文件数据
注意:此字段可能返回 null,表示取不到有效值。
* @param FileData 文件数据
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setFileData(String FileData) {
this.FileData = FileData;
}
/**
* Get 错误提示
注意:此字段可能返回 null,表示取不到有效值。
* @return Message 错误提示
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMessage() {
return this.Message;
}
/**
* Set 错误提示
注意:此字段可能返回 null,表示取不到有效值。
* @param Message 错误提示
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMessage(String Message) {
this.Message = Message;
}
/**
* Get 翻译进度
注意:此字段可能返回 null,表示取不到有效值。
* @return Progress 翻译进度
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getProgress() {
return this.Progress;
}
/**
* Set 翻译进度
注意:此字段可能返回 null,表示取不到有效值。
* @param Progress 翻译进度
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setProgress(Long Progress) {
this.Progress = Progress;
}
public GetFileTranslateData() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public GetFileTranslateData(GetFileTranslateData source) {
if (source.TaskId != null) {
this.TaskId = new String(source.TaskId);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.FileData != null) {
this.FileData = new String(source.FileData);
}
if (source.Message != null) {
this.Message = new String(source.Message);
}
if (source.Progress != null) {
this.Progress = new Long(source.Progress);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "TaskId", this.TaskId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "FileData", this.FileData);
this.setParamSimple(map, prefix + "Message", this.Message);
this.setParamSimple(map, prefix + "Progress", this.Progress);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy