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

com.aliyuncs.miniapplcdp.model.v20200113.CreateCommitRequest Maven / Gradle / Ivy

Go to download

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.miniapplcdp.model.v20200113;

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

/**
 * @author auto create
 * @version 
 */
public class CreateCommitRequest extends RpcAcsRequest {
	   

	private String mainModuleCommitId;

	private String clientToken;

	private String rollbackType;

	private String rollbackToCommitId;

	private String source;

	private String schemaVersion;

	private String commitType;

	private String commitLog;

	private String appId;

	private String moduleId;
	public CreateCommitRequest() {
		super("miniapplcdp", "2020-01-13", "CreateCommit");
		setMethod(MethodType.POST);
	}

	public String getMainModuleCommitId() {
		return this.mainModuleCommitId;
	}

	public void setMainModuleCommitId(String mainModuleCommitId) {
		this.mainModuleCommitId = mainModuleCommitId;
		if(mainModuleCommitId != null){
			putQueryParameter("MainModuleCommitId", mainModuleCommitId);
		}
	}

	public String getClientToken() {
		return this.clientToken;
	}

	public void setClientToken(String clientToken) {
		this.clientToken = clientToken;
		if(clientToken != null){
			putQueryParameter("ClientToken", clientToken);
		}
	}

	public String getRollbackType() {
		return this.rollbackType;
	}

	public void setRollbackType(String rollbackType) {
		this.rollbackType = rollbackType;
		if(rollbackType != null){
			putQueryParameter("RollbackType", rollbackType);
		}
	}

	public String getRollbackToCommitId() {
		return this.rollbackToCommitId;
	}

	public void setRollbackToCommitId(String rollbackToCommitId) {
		this.rollbackToCommitId = rollbackToCommitId;
		if(rollbackToCommitId != null){
			putQueryParameter("RollbackToCommitId", rollbackToCommitId);
		}
	}

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

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

	public String getSchemaVersion() {
		return this.schemaVersion;
	}

	public void setSchemaVersion(String schemaVersion) {
		this.schemaVersion = schemaVersion;
		if(schemaVersion != null){
			putQueryParameter("SchemaVersion", schemaVersion);
		}
	}

	public String getCommitType() {
		return this.commitType;
	}

	public void setCommitType(String commitType) {
		this.commitType = commitType;
		if(commitType != null){
			putQueryParameter("CommitType", commitType);
		}
	}

	public String getCommitLog() {
		return this.commitLog;
	}

	public void setCommitLog(String commitLog) {
		this.commitLog = commitLog;
		if(commitLog != null){
			putQueryParameter("CommitLog", commitLog);
		}
	}

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

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

	public String getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
		if(moduleId != null){
			putQueryParameter("ModuleId", moduleId);
		}
	}

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy