com.tencentcloudapi.tsf.v20180326.models.DescribeUploadInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-tsf Show documentation
Show all versions of tencentcloud-sdk-java-tsf Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.tsf.v20180326.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeUploadInfoRequest extends AbstractModel{
/**
* 应用ID
*/
@SerializedName("ApplicationId")
@Expose
private String ApplicationId;
/**
* 程序包名
*/
@SerializedName("PkgName")
@Expose
private String PkgName;
/**
* 程序包版本
*/
@SerializedName("PkgVersion")
@Expose
private String PkgVersion;
/**
* 程序包类型
*/
@SerializedName("PkgType")
@Expose
private String PkgType;
/**
* 程序包介绍
*/
@SerializedName("PkgDesc")
@Expose
private String PkgDesc;
/**
* 程序包仓库类型
*/
@SerializedName("RepositoryType")
@Expose
private String RepositoryType;
/**
* 程序包仓库id
*/
@SerializedName("RepositoryId")
@Expose
private String RepositoryId;
/**
* Get 应用ID
* @return ApplicationId 应用ID
*/
public String getApplicationId() {
return this.ApplicationId;
}
/**
* Set 应用ID
* @param ApplicationId 应用ID
*/
public void setApplicationId(String ApplicationId) {
this.ApplicationId = ApplicationId;
}
/**
* Get 程序包名
* @return PkgName 程序包名
*/
public String getPkgName() {
return this.PkgName;
}
/**
* Set 程序包名
* @param PkgName 程序包名
*/
public void setPkgName(String PkgName) {
this.PkgName = PkgName;
}
/**
* Get 程序包版本
* @return PkgVersion 程序包版本
*/
public String getPkgVersion() {
return this.PkgVersion;
}
/**
* Set 程序包版本
* @param PkgVersion 程序包版本
*/
public void setPkgVersion(String PkgVersion) {
this.PkgVersion = PkgVersion;
}
/**
* Get 程序包类型
* @return PkgType 程序包类型
*/
public String getPkgType() {
return this.PkgType;
}
/**
* Set 程序包类型
* @param PkgType 程序包类型
*/
public void setPkgType(String PkgType) {
this.PkgType = PkgType;
}
/**
* Get 程序包介绍
* @return PkgDesc 程序包介绍
*/
public String getPkgDesc() {
return this.PkgDesc;
}
/**
* Set 程序包介绍
* @param PkgDesc 程序包介绍
*/
public void setPkgDesc(String PkgDesc) {
this.PkgDesc = PkgDesc;
}
/**
* Get 程序包仓库类型
* @return RepositoryType 程序包仓库类型
*/
public String getRepositoryType() {
return this.RepositoryType;
}
/**
* Set 程序包仓库类型
* @param RepositoryType 程序包仓库类型
*/
public void setRepositoryType(String RepositoryType) {
this.RepositoryType = RepositoryType;
}
/**
* Get 程序包仓库id
* @return RepositoryId 程序包仓库id
*/
public String getRepositoryId() {
return this.RepositoryId;
}
/**
* Set 程序包仓库id
* @param RepositoryId 程序包仓库id
*/
public void setRepositoryId(String RepositoryId) {
this.RepositoryId = RepositoryId;
}
public DescribeUploadInfoRequest() {
}
/**
* 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 DescribeUploadInfoRequest(DescribeUploadInfoRequest source) {
if (source.ApplicationId != null) {
this.ApplicationId = new String(source.ApplicationId);
}
if (source.PkgName != null) {
this.PkgName = new String(source.PkgName);
}
if (source.PkgVersion != null) {
this.PkgVersion = new String(source.PkgVersion);
}
if (source.PkgType != null) {
this.PkgType = new String(source.PkgType);
}
if (source.PkgDesc != null) {
this.PkgDesc = new String(source.PkgDesc);
}
if (source.RepositoryType != null) {
this.RepositoryType = new String(source.RepositoryType);
}
if (source.RepositoryId != null) {
this.RepositoryId = new String(source.RepositoryId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
this.setParamSimple(map, prefix + "PkgName", this.PkgName);
this.setParamSimple(map, prefix + "PkgVersion", this.PkgVersion);
this.setParamSimple(map, prefix + "PkgType", this.PkgType);
this.setParamSimple(map, prefix + "PkgDesc", this.PkgDesc);
this.setParamSimple(map, prefix + "RepositoryType", this.RepositoryType);
this.setParamSimple(map, prefix + "RepositoryId", this.RepositoryId);
}
}