/*
 * 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.mse.model.v20190531;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.mse.Endpoint;

/**
 * @author auto create
 * @version 
 */
public class CreateMseServiceApplicationRequest extends RpcAcsRequest<CreateMseServiceApplicationResponse> {
	   

	private String language;

	private String source;

	private String extraInfo;

	private String appName;

	private String switchEnable;

	private String mseVersion;

	private String acceptLanguage;

	private String sentinelEnable;

	private String region;
	public CreateMseServiceApplicationRequest() {
		super("mse", "2019-05-31", "CreateMseServiceApplication", "mse");
		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) {}
	}

	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
		if(language != null){
			putQueryParameter("Language", language);
		}
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
		if(source != null){
			putQueryParameter("Source", source);
		}
	}

	public String getExtraInfo() {
		return this.extraInfo;
	}

	public void setExtraInfo(String extraInfo) {
		this.extraInfo = extraInfo;
		if(extraInfo != null){
			putQueryParameter("ExtraInfo", extraInfo);
		}
	}

	public String getAppName() {
		return this.appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
		if(appName != null){
			putQueryParameter("AppName", appName);
		}
	}

	public String getSwitchEnable() {
		return this.switchEnable;
	}

	public void setSwitchEnable(String switchEnable) {
		this.switchEnable = switchEnable;
		if(switchEnable != null){
			putQueryParameter("SwitchEnable", switchEnable);
		}
	}

	public String getMseVersion() {
		return this.mseVersion;
	}

	public void setMseVersion(String mseVersion) {
		this.mseVersion = mseVersion;
		if(mseVersion != null){
			putQueryParameter("MseVersion", mseVersion);
		}
	}

	public String getAcceptLanguage() {
		return this.acceptLanguage;
	}

	public void setAcceptLanguage(String acceptLanguage) {
		this.acceptLanguage = acceptLanguage;
		if(acceptLanguage != null){
			putQueryParameter("AcceptLanguage", acceptLanguage);
		}
	}

	public String getSentinelEnable() {
		return this.sentinelEnable;
	}

	public void setSentinelEnable(String sentinelEnable) {
		this.sentinelEnable = sentinelEnable;
		if(sentinelEnable != null){
			putQueryParameter("SentinelEnable", sentinelEnable);
		}
	}

	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
		if(region != null){
			putQueryParameter("Region", region);
		}
	}

	@Override
	public Class<CreateMseServiceApplicationResponse> getResponseClass() {
		return CreateMseServiceApplicationResponse.class;
	}

}
