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

com.tencentcloudapi.vod.v20180717.models.EditMediaVideoStream Maven / Gradle / Ivy

There is a newer version: 3.1.1104
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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.tencentcloudapi.vod.v20180717.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class EditMediaVideoStream extends AbstractModel{

    /**
    * 分辨率自适应,可选值:
  • open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
  • close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
  • 默认值:open。 */ @SerializedName("ResolutionAdaptive") @Expose private String ResolutionAdaptive; /** * 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ @SerializedName("Width") @Expose private Long Width; /** * 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ @SerializedName("Height") @Expose private Long Height; /** * Get 分辨率自适应,可选值:
  • open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
  • close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
  • 默认值:open。 * @return ResolutionAdaptive 分辨率自适应,可选值:
  • open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
  • close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
  • 默认值:open。 */ public String getResolutionAdaptive() { return this.ResolutionAdaptive; } /** * Set 分辨率自适应,可选值:
  • open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
  • close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
  • 默认值:open。 * @param ResolutionAdaptive 分辨率自适应,可选值:
  • open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
  • close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
  • 默认值:open。 */ public void setResolutionAdaptive(String ResolutionAdaptive) { this.ResolutionAdaptive = ResolutionAdaptive; } /** * Get 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 * @return Width 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ public Long getWidth() { return this.Width; } /** * Set 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 * @param Width 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ public void setWidth(Long Width) { this.Width = Width; } /** * Get 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 * @return Height 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ public Long getHeight() { return this.Height; } /** * Set 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 * @param Height 视频流高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
  • 当 Width、Height 均为 0,则分辨率取基准分辨率;
  • 当 Width 为 0,Height 非 0,则 Width 按基准分辨率比例缩放;
  • 当 Width 非 0,Height 为 0,则 Height 按基准分辨率比例缩放;
  • 当 Width、Height 均非 0,则分辨率按用户指定。
  • 默认值:0。 */ public void setHeight(Long Height) { this.Height = Height; } public EditMediaVideoStream() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public EditMediaVideoStream(EditMediaVideoStream source) { if (source.ResolutionAdaptive != null) { this.ResolutionAdaptive = new String(source.ResolutionAdaptive); } if (source.Width != null) { this.Width = new Long(source.Width); } if (source.Height != null) { this.Height = new Long(source.Height); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ResolutionAdaptive", this.ResolutionAdaptive); this.setParamSimple(map, prefix + "Width", this.Width); this.setParamSimple(map, prefix + "Height", this.Height); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy