com.tencentcloudapi.tsf.v20180326.models.DeletePkgsRequest 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DeletePkgsRequest extends AbstractModel {
/**
* 应用ID
*/
@SerializedName("ApplicationId")
@Expose
private String ApplicationId;
/**
* 需要删除的程序包ID列表
*/
@SerializedName("PkgIds")
@Expose
private String [] PkgIds;
/**
* 程序包仓库类型
*/
@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 需要删除的程序包ID列表
* @return PkgIds 需要删除的程序包ID列表
*/
public String [] getPkgIds() {
return this.PkgIds;
}
/**
* Set 需要删除的程序包ID列表
* @param PkgIds 需要删除的程序包ID列表
*/
public void setPkgIds(String [] PkgIds) {
this.PkgIds = PkgIds;
}
/**
* 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 DeletePkgsRequest() {
}
/**
* 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 DeletePkgsRequest(DeletePkgsRequest source) {
if (source.ApplicationId != null) {
this.ApplicationId = new String(source.ApplicationId);
}
if (source.PkgIds != null) {
this.PkgIds = new String[source.PkgIds.length];
for (int i = 0; i < source.PkgIds.length; i++) {
this.PkgIds[i] = new String(source.PkgIds[i]);
}
}
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.setParamArraySimple(map, prefix + "PkgIds.", this.PkgIds);
this.setParamSimple(map, prefix + "RepositoryType", this.RepositoryType);
this.setParamSimple(map, prefix + "RepositoryId", this.RepositoryId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy