
com.tencentcloudapi.tcmpp.v20240801.models.DescribeMNPVersionResp 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.tcmpp.v20240801.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeMNPVersionResp extends AbstractModel {
/**
* Mini program ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MNPId")
@Expose
private String MNPId;
/**
* Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TaskId")
@Expose
private String TaskId;
/**
* 1: Pending; 20: Running; 30: Failed; 60: Succeeded
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TaskStatus")
@Expose
private Long TaskStatus;
/**
* Task status message
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TaskMsg")
@Expose
private String TaskMsg;
/**
* Get Mini program ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return MNPId Mini program ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getMNPId() {
return this.MNPId;
}
/**
* Set Mini program ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param MNPId Mini program ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMNPId(String MNPId) {
this.MNPId = MNPId;
}
/**
* Get Task ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return TaskId Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getTaskId() {
return this.TaskId;
}
/**
* Set Task ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param TaskId Task ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTaskId(String TaskId) {
this.TaskId = TaskId;
}
/**
* Get 1: Pending; 20: Running; 30: Failed; 60: Succeeded
Note: This field may return null, indicating that no valid values can be obtained.
* @return TaskStatus 1: Pending; 20: Running; 30: Failed; 60: Succeeded
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getTaskStatus() {
return this.TaskStatus;
}
/**
* Set 1: Pending; 20: Running; 30: Failed; 60: Succeeded
Note: This field may return null, indicating that no valid values can be obtained.
* @param TaskStatus 1: Pending; 20: Running; 30: Failed; 60: Succeeded
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTaskStatus(Long TaskStatus) {
this.TaskStatus = TaskStatus;
}
/**
* Get Task status message
Note: This field may return null, indicating that no valid values can be obtained.
* @return TaskMsg Task status message
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getTaskMsg() {
return this.TaskMsg;
}
/**
* Set Task status message
Note: This field may return null, indicating that no valid values can be obtained.
* @param TaskMsg Task status message
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTaskMsg(String TaskMsg) {
this.TaskMsg = TaskMsg;
}
public DescribeMNPVersionResp() {
}
/**
* 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 DescribeMNPVersionResp(DescribeMNPVersionResp source) {
if (source.MNPId != null) {
this.MNPId = new String(source.MNPId);
}
if (source.TaskId != null) {
this.TaskId = new String(source.TaskId);
}
if (source.TaskStatus != null) {
this.TaskStatus = new Long(source.TaskStatus);
}
if (source.TaskMsg != null) {
this.TaskMsg = new String(source.TaskMsg);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "MNPId", this.MNPId);
this.setParamSimple(map, prefix + "TaskId", this.TaskId);
this.setParamSimple(map, prefix + "TaskStatus", this.TaskStatus);
this.setParamSimple(map, prefix + "TaskMsg", this.TaskMsg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy