All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.webplus.model.v20190320.CreateAppEnvRequest Maven / Gradle / Ivy

/*
 * 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.webplus.model.v20190320;

import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.webplus.Endpoint;

/**
 * @author auto create
 * @version 
 */
public class CreateAppEnvRequest extends RoaAcsRequest {
	
	public CreateAppEnvRequest() {
		super("WebPlus", "2019-03-20", "CreateAppEnv");
		setUriPattern("/pop/v1/wam/appEnv");
		setMethod(MethodType.POST);
		try {
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
		} catch (Exception e) {}
	}

	private String optionSettings;

	private Boolean dryRun;

	private String envName;

	private String extraProperties;

	private String stackId;

	private String appId;

	private String profileName;

	private String envDescription;

	private String pkgVersionId;

	private String sourceEnvId;

	private String templateId;

	public String getOptionSettings() {
		return this.optionSettings;
	}

	public void setOptionSettings(String optionSettings) {
		this.optionSettings = optionSettings;
		if(optionSettings != null){
			putBodyParameter("OptionSettings", optionSettings);
		}
	}

	public Boolean getDryRun() {
		return this.dryRun;
	}

	public void setDryRun(Boolean dryRun) {
		this.dryRun = dryRun;
		if(dryRun != null){
			putBodyParameter("DryRun", dryRun.toString());
		}
	}

	public String getEnvName() {
		return this.envName;
	}

	public void setEnvName(String envName) {
		this.envName = envName;
		if(envName != null){
			putBodyParameter("EnvName", envName);
		}
	}

	public String getExtraProperties() {
		return this.extraProperties;
	}

	public void setExtraProperties(String extraProperties) {
		this.extraProperties = extraProperties;
		if(extraProperties != null){
			putBodyParameter("ExtraProperties", extraProperties);
		}
	}

	public String getStackId() {
		return this.stackId;
	}

	public void setStackId(String stackId) {
		this.stackId = stackId;
		if(stackId != null){
			putBodyParameter("StackId", stackId);
		}
	}

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
		if(appId != null){
			putBodyParameter("AppId", appId);
		}
	}

	public String getProfileName() {
		return this.profileName;
	}

	public void setProfileName(String profileName) {
		this.profileName = profileName;
		if(profileName != null){
			putBodyParameter("ProfileName", profileName);
		}
	}

	public String getEnvDescription() {
		return this.envDescription;
	}

	public void setEnvDescription(String envDescription) {
		this.envDescription = envDescription;
		if(envDescription != null){
			putBodyParameter("EnvDescription", envDescription);
		}
	}

	public String getPkgVersionId() {
		return this.pkgVersionId;
	}

	public void setPkgVersionId(String pkgVersionId) {
		this.pkgVersionId = pkgVersionId;
		if(pkgVersionId != null){
			putBodyParameter("PkgVersionId", pkgVersionId);
		}
	}

	public String getSourceEnvId() {
		return this.sourceEnvId;
	}

	public void setSourceEnvId(String sourceEnvId) {
		this.sourceEnvId = sourceEnvId;
		if(sourceEnvId != null){
			putBodyParameter("SourceEnvId", sourceEnvId);
		}
	}

	public String getTemplateId() {
		return this.templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
		if(templateId != null){
			putBodyParameter("TemplateId", templateId);
		}
	}

	@Override
	public Class getResponseClass() {
		return CreateAppEnvResponse.class;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy