com.aliyuncs.market.model.v20151101.QueryAvaiableImagesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-market Show documentation
Show all versions of aliyun-java-sdk-market Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.aliyuncs.market.model.v20151101;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class QueryAvaiableImagesRequest extends RpcAcsRequest {
public QueryAvaiableImagesRequest() {
super("Market", "2015-11-01", "QueryAvaiableImages");
}
private List ecsUnitModelss;
private String snapshotId;
private String imageName;
private Integer pageSize;
private List osTypess;
private Integer pageIndex;
private String userPK;
private List imageIdss;
private String regionNo;
public List getEcsUnitModelss() {
return this.ecsUnitModelss;
}
public void setEcsUnitModelss(List ecsUnitModelss) {
this.ecsUnitModelss = ecsUnitModelss;
if (ecsUnitModelss != null) {
for (int depth1 = 0; depth1 < ecsUnitModelss.size(); depth1++) {
putQueryParameter("EcsUnitModels." + (depth1 + 1) + ".Core" , ecsUnitModelss.get(depth1).getCore());
putQueryParameter("EcsUnitModels." + (depth1 + 1) + ".memory" , ecsUnitModelss.get(depth1).getMemory());
}
}
}
public String getSnapshotId() {
return this.snapshotId;
}
public void setSnapshotId(String snapshotId) {
this.snapshotId = snapshotId;
if(snapshotId != null){
putQueryParameter("SnapshotId", snapshotId);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public List getOsTypess() {
return this.osTypess;
}
public void setOsTypess(List osTypess) {
this.osTypess = osTypess;
if (osTypess != null) {
for (int depth1 = 0; depth1 < osTypess.size(); depth1++) {
putQueryParameter("OsTypes." + (depth1 + 1) + ".OsKind" , osTypess.get(depth1).getOsKind());
putQueryParameter("OsTypes." + (depth1 + 1) + ".OsBit" , osTypess.get(depth1).getOsBit());
}
}
}
public Integer getPageIndex() {
return this.pageIndex;
}
public void setPageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
if(pageIndex != null){
putQueryParameter("PageIndex", pageIndex.toString());
}
}
public String getUserPK() {
return this.userPK;
}
public void setUserPK(String userPK) {
this.userPK = userPK;
if(userPK != null){
putQueryParameter("UserPK", userPK);
}
}
public List getImageIdss() {
return this.imageIdss;
}
public void setImageIdss(List imageIdss) {
this.imageIdss = imageIdss;
if (imageIdss != null) {
for (int i = 0; i < imageIdss.size(); i++) {
putQueryParameter("ImageIds." + (i + 1) , imageIdss.get(i));
}
}
}
public String getRegionNo() {
return this.regionNo;
}
public void setRegionNo(String regionNo) {
this.regionNo = regionNo;
if(regionNo != null){
putQueryParameter("RegionNo", regionNo);
}
}
public static class EcsUnitModels {
private Integer core;
private Integer memory;
public Integer getCore() {
return this.core;
}
public void setCore(Integer core) {
this.core = core;
}
public Integer getMemory() {
return this.memory;
}
public void setMemory(Integer memory) {
this.memory = memory;
}
}
public static class OsTypes {
private String osKind;
private Integer osBit;
public String getOsKind() {
return this.osKind;
}
public void setOsKind(String osKind) {
this.osKind = osKind;
}
public Integer getOsBit() {
return this.osBit;
}
public void setOsBit(Integer osBit) {
this.osBit = osBit;
}
}
@Override
public Class getResponseClass() {
return QueryAvaiableImagesResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy