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

com.aliyuncs.imm.model.v20170906.ConvertOfficeFormatRequest 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

There is a newer version: 2.1.17
Show 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.imm.model.v20170906;

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

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

	private String srcType;

	private String project;

	private Boolean pdfVector;

	private String password;

	private Long startPage;

	private Boolean fitToPagesWide;

	private String tgtFilePrefix;

	private String modelId;

	private Long maxSheetRow;

	private Long maxSheetCount;

	private Long endPage;

	private String tgtFileSuffix;

	private Boolean sheetOnePage;

	private Long maxSheetCol;

	private String tgtType;

	private Boolean hidecomments;

	private Boolean fitToPagesTall;

	private String srcUri;

	private String tgtFilePages;

	private String tgtUri;
	public ConvertOfficeFormatRequest() {
		super("imm", "2017-09-06", "ConvertOfficeFormat");
		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 getSrcType() {
		return this.srcType;
	}

	public void setSrcType(String srcType) {
		this.srcType = srcType;
		if(srcType != null){
			putQueryParameter("SrcType", srcType);
		}
	}

	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
		if(project != null){
			putQueryParameter("Project", project);
		}
	}

	public Boolean getPdfVector() {
		return this.pdfVector;
	}

	public void setPdfVector(Boolean pdfVector) {
		this.pdfVector = pdfVector;
		if(pdfVector != null){
			putQueryParameter("PdfVector", pdfVector.toString());
		}
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
		if(password != null){
			putQueryParameter("Password", password);
		}
	}

	public Long getStartPage() {
		return this.startPage;
	}

	public void setStartPage(Long startPage) {
		this.startPage = startPage;
		if(startPage != null){
			putQueryParameter("StartPage", startPage.toString());
		}
	}

	public Boolean getFitToPagesWide() {
		return this.fitToPagesWide;
	}

	public void setFitToPagesWide(Boolean fitToPagesWide) {
		this.fitToPagesWide = fitToPagesWide;
		if(fitToPagesWide != null){
			putQueryParameter("FitToPagesWide", fitToPagesWide.toString());
		}
	}

	public String getTgtFilePrefix() {
		return this.tgtFilePrefix;
	}

	public void setTgtFilePrefix(String tgtFilePrefix) {
		this.tgtFilePrefix = tgtFilePrefix;
		if(tgtFilePrefix != null){
			putQueryParameter("TgtFilePrefix", tgtFilePrefix);
		}
	}

	public String getModelId() {
		return this.modelId;
	}

	public void setModelId(String modelId) {
		this.modelId = modelId;
		if(modelId != null){
			putQueryParameter("ModelId", modelId);
		}
	}

	public Long getMaxSheetRow() {
		return this.maxSheetRow;
	}

	public void setMaxSheetRow(Long maxSheetRow) {
		this.maxSheetRow = maxSheetRow;
		if(maxSheetRow != null){
			putQueryParameter("MaxSheetRow", maxSheetRow.toString());
		}
	}

	public Long getMaxSheetCount() {
		return this.maxSheetCount;
	}

	public void setMaxSheetCount(Long maxSheetCount) {
		this.maxSheetCount = maxSheetCount;
		if(maxSheetCount != null){
			putQueryParameter("MaxSheetCount", maxSheetCount.toString());
		}
	}

	public Long getEndPage() {
		return this.endPage;
	}

	public void setEndPage(Long endPage) {
		this.endPage = endPage;
		if(endPage != null){
			putQueryParameter("EndPage", endPage.toString());
		}
	}

	public String getTgtFileSuffix() {
		return this.tgtFileSuffix;
	}

	public void setTgtFileSuffix(String tgtFileSuffix) {
		this.tgtFileSuffix = tgtFileSuffix;
		if(tgtFileSuffix != null){
			putQueryParameter("TgtFileSuffix", tgtFileSuffix);
		}
	}

	public Boolean getSheetOnePage() {
		return this.sheetOnePage;
	}

	public void setSheetOnePage(Boolean sheetOnePage) {
		this.sheetOnePage = sheetOnePage;
		if(sheetOnePage != null){
			putQueryParameter("SheetOnePage", sheetOnePage.toString());
		}
	}

	public Long getMaxSheetCol() {
		return this.maxSheetCol;
	}

	public void setMaxSheetCol(Long maxSheetCol) {
		this.maxSheetCol = maxSheetCol;
		if(maxSheetCol != null){
			putQueryParameter("MaxSheetCol", maxSheetCol.toString());
		}
	}

	public String getTgtType() {
		return this.tgtType;
	}

	public void setTgtType(String tgtType) {
		this.tgtType = tgtType;
		if(tgtType != null){
			putQueryParameter("TgtType", tgtType);
		}
	}

	public Boolean getHidecomments() {
		return this.hidecomments;
	}

	public void setHidecomments(Boolean hidecomments) {
		this.hidecomments = hidecomments;
		if(hidecomments != null){
			putQueryParameter("Hidecomments", hidecomments.toString());
		}
	}

	public Boolean getFitToPagesTall() {
		return this.fitToPagesTall;
	}

	public void setFitToPagesTall(Boolean fitToPagesTall) {
		this.fitToPagesTall = fitToPagesTall;
		if(fitToPagesTall != null){
			putQueryParameter("FitToPagesTall", fitToPagesTall.toString());
		}
	}

	public String getSrcUri() {
		return this.srcUri;
	}

	public void setSrcUri(String srcUri) {
		this.srcUri = srcUri;
		if(srcUri != null){
			putQueryParameter("SrcUri", srcUri);
		}
	}

	public String getTgtFilePages() {
		return this.tgtFilePages;
	}

	public void setTgtFilePages(String tgtFilePages) {
		this.tgtFilePages = tgtFilePages;
		if(tgtFilePages != null){
			putQueryParameter("TgtFilePages", tgtFilePages);
		}
	}

	public String getTgtUri() {
		return this.tgtUri;
	}

	public void setTgtUri(String tgtUri) {
		this.tgtUri = tgtUri;
		if(tgtUri != null){
			putQueryParameter("TgtUri", tgtUri);
		}
	}

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy