com.aliyuncs.clouddesktop.model.v20170301.CreateDesktopRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-clouddesktop Show documentation
Show all versions of aliyun-java-sdk-clouddesktop Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
/*
* 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.clouddesktop.model.v20170301;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateDesktopRequest extends RpcAcsRequest {
public CreateDesktopRequest() {
super("CloudDesktop", "2017-03-01", "CreateDesktop", "CloudDesktop");
}
private String imageType;
private Integer period;
private String imageId;
private String clientToken;
private Long ownerId;
private String cycle;
private String vSwitchId;
private String userDiskSize;
private String vpcId;
private String userGroup;
private String zoneId;
private String userDiskType;
private String chargeType;
private String typeItemId;
private String userName;
public String getImageType() {
return this.imageType;
}
public void setImageType(String imageType) {
this.imageType = imageType;
if(imageType != null){
putQueryParameter("ImageType", imageType);
}
}
public Integer getPeriod() {
return this.period;
}
public void setPeriod(Integer period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCycle() {
return this.cycle;
}
public void setCycle(String cycle) {
this.cycle = cycle;
if(cycle != null){
putQueryParameter("Cycle", cycle);
}
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
if(vSwitchId != null){
putQueryParameter("VSwitchId", vSwitchId);
}
}
public String getUserDiskSize() {
return this.userDiskSize;
}
public void setUserDiskSize(String userDiskSize) {
this.userDiskSize = userDiskSize;
if(userDiskSize != null){
putQueryParameter("UserDiskSize", userDiskSize);
}
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putQueryParameter("VpcId", vpcId);
}
}
public String getUserGroup() {
return this.userGroup;
}
public void setUserGroup(String userGroup) {
this.userGroup = userGroup;
if(userGroup != null){
putQueryParameter("UserGroup", userGroup);
}
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
if(zoneId != null){
putQueryParameter("ZoneId", zoneId);
}
}
public String getUserDiskType() {
return this.userDiskType;
}
public void setUserDiskType(String userDiskType) {
this.userDiskType = userDiskType;
if(userDiskType != null){
putQueryParameter("UserDiskType", userDiskType);
}
}
public String getChargeType() {
return this.chargeType;
}
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
if(chargeType != null){
putQueryParameter("ChargeType", chargeType);
}
}
public String getTypeItemId() {
return this.typeItemId;
}
public void setTypeItemId(String typeItemId) {
this.typeItemId = typeItemId;
if(typeItemId != null){
putQueryParameter("TypeItemId", typeItemId);
}
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
if(userName != null){
putQueryParameter("UserName", userName);
}
}
@Override
public Class getResponseClass() {
return CreateDesktopResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy