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

com.aliyuncs.live.model.v20161101.UpdateRtsLiveStreamTranscodeRequest 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: 3.9.64
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.live.model.v20161101;

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

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

	private String template;

	private Boolean deleteBframes;

	private String lazy;

	private String gop;

	private Boolean opus;

	private String audioCodec;

	private String templateType;

	private String audioProfile;

	private Integer height;

	private String app;

	private Integer audioChannelNum;

	private Integer profile;

	private Integer fPS;

	private Long ownerId;

	private Integer audioRate;

	private Integer audioBitrate;

	private String domain;

	private Integer width;

	private Integer videoBitrate;
	public UpdateRtsLiveStreamTranscodeRequest() {
		super("live", "2016-11-01", "UpdateRtsLiveStreamTranscode", "live");
		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 getTemplate() {
		return this.template;
	}

	public void setTemplate(String template) {
		this.template = template;
		if(template != null){
			putQueryParameter("Template", template);
		}
	}

	public Boolean getDeleteBframes() {
		return this.deleteBframes;
	}

	public void setDeleteBframes(Boolean deleteBframes) {
		this.deleteBframes = deleteBframes;
		if(deleteBframes != null){
			putQueryParameter("DeleteBframes", deleteBframes.toString());
		}
	}

	public String getLazy() {
		return this.lazy;
	}

	public void setLazy(String lazy) {
		this.lazy = lazy;
		if(lazy != null){
			putQueryParameter("Lazy", lazy);
		}
	}

	public String getGop() {
		return this.gop;
	}

	public void setGop(String gop) {
		this.gop = gop;
		if(gop != null){
			putQueryParameter("Gop", gop);
		}
	}

	public Boolean getOpus() {
		return this.opus;
	}

	public void setOpus(Boolean opus) {
		this.opus = opus;
		if(opus != null){
			putQueryParameter("Opus", opus.toString());
		}
	}

	public String getAudioCodec() {
		return this.audioCodec;
	}

	public void setAudioCodec(String audioCodec) {
		this.audioCodec = audioCodec;
		if(audioCodec != null){
			putQueryParameter("AudioCodec", audioCodec);
		}
	}

	public String getTemplateType() {
		return this.templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
		if(templateType != null){
			putQueryParameter("TemplateType", templateType);
		}
	}

	public String getAudioProfile() {
		return this.audioProfile;
	}

	public void setAudioProfile(String audioProfile) {
		this.audioProfile = audioProfile;
		if(audioProfile != null){
			putQueryParameter("AudioProfile", audioProfile);
		}
	}

	public Integer getHeight() {
		return this.height;
	}

	public void setHeight(Integer height) {
		this.height = height;
		if(height != null){
			putQueryParameter("Height", height.toString());
		}
	}

	public String getApp() {
		return this.app;
	}

	public void setApp(String app) {
		this.app = app;
		if(app != null){
			putQueryParameter("App", app);
		}
	}

	public Integer getAudioChannelNum() {
		return this.audioChannelNum;
	}

	public void setAudioChannelNum(Integer audioChannelNum) {
		this.audioChannelNum = audioChannelNum;
		if(audioChannelNum != null){
			putQueryParameter("AudioChannelNum", audioChannelNum.toString());
		}
	}

	public Integer getProfile() {
		return this.profile;
	}

	public void setProfile(Integer profile) {
		this.profile = profile;
		if(profile != null){
			putQueryParameter("Profile", profile.toString());
		}
	}

	public Integer getFPS() {
		return this.fPS;
	}

	public void setFPS(Integer fPS) {
		this.fPS = fPS;
		if(fPS != null){
			putQueryParameter("FPS", fPS.toString());
		}
	}

	public Long getOwnerId() {
		return this.ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
		if(ownerId != null){
			putQueryParameter("OwnerId", ownerId.toString());
		}
	}

	public Integer getAudioRate() {
		return this.audioRate;
	}

	public void setAudioRate(Integer audioRate) {
		this.audioRate = audioRate;
		if(audioRate != null){
			putQueryParameter("AudioRate", audioRate.toString());
		}
	}

	public Integer getAudioBitrate() {
		return this.audioBitrate;
	}

	public void setAudioBitrate(Integer audioBitrate) {
		this.audioBitrate = audioBitrate;
		if(audioBitrate != null){
			putQueryParameter("AudioBitrate", audioBitrate.toString());
		}
	}

	public String getDomain() {
		return this.domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
		if(domain != null){
			putQueryParameter("Domain", domain);
		}
	}

	public Integer getWidth() {
		return this.width;
	}

	public void setWidth(Integer width) {
		this.width = width;
		if(width != null){
			putQueryParameter("Width", width.toString());
		}
	}

	public Integer getVideoBitrate() {
		return this.videoBitrate;
	}

	public void setVideoBitrate(Integer videoBitrate) {
		this.videoBitrate = videoBitrate;
		if(videoBitrate != null){
			putQueryParameter("VideoBitrate", videoBitrate.toString());
		}
	}

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy