|
| 1 | +// This file is auto-generated, don't edit it. Thanks. |
| 2 | +package com.aliyun.sdk.service.ice20201109.models; |
| 3 | + |
| 4 | +import com.aliyun.sdk.gateway.pop.*; |
| 5 | +import darabonba.core.*; |
| 6 | +import darabonba.core.async.*; |
| 7 | +import darabonba.core.sync.*; |
| 8 | +import darabonba.core.client.*; |
| 9 | +import darabonba.core.RequestModel; |
| 10 | +import darabonba.core.TeaModel; |
| 11 | +import com.aliyun.sdk.gateway.pop.models.*; |
| 12 | + |
| 13 | +/** |
| 14 | + * |
| 15 | + * {@link LiveManifestConfig} extends {@link TeaModel} |
| 16 | + * |
| 17 | + * <p>LiveManifestConfig</p> |
| 18 | + */ |
| 19 | +public class LiveManifestConfig extends TeaModel { |
| 20 | + @com.aliyun.core.annotation.NameInMap("AdMarkers") |
| 21 | + private String adMarkers; |
| 22 | + |
| 23 | + @com.aliyun.core.annotation.NameInMap("DateTimeInterval") |
| 24 | + private Integer dateTimeInterval; |
| 25 | + |
| 26 | + @com.aliyun.core.annotation.NameInMap("ManifestName") |
| 27 | + private String manifestName; |
| 28 | + |
| 29 | + @com.aliyun.core.annotation.NameInMap("MaxVideoBitrate") |
| 30 | + private Integer maxVideoBitrate; |
| 31 | + |
| 32 | + @com.aliyun.core.annotation.NameInMap("MinBufferTime") |
| 33 | + private Integer minBufferTime; |
| 34 | + |
| 35 | + @com.aliyun.core.annotation.NameInMap("MinVideoBitrate") |
| 36 | + private Integer minVideoBitrate; |
| 37 | + |
| 38 | + @com.aliyun.core.annotation.NameInMap("Protocol") |
| 39 | + private String protocol; |
| 40 | + |
| 41 | + @com.aliyun.core.annotation.NameInMap("SegmentNum") |
| 42 | + private Integer segmentNum; |
| 43 | + |
| 44 | + @com.aliyun.core.annotation.NameInMap("StreamOrder") |
| 45 | + private String streamOrder; |
| 46 | + |
| 47 | + @com.aliyun.core.annotation.NameInMap("UseAudioRenditionGroups") |
| 48 | + private Boolean useAudioRenditionGroups; |
| 49 | + |
| 50 | + private LiveManifestConfig(Builder builder) { |
| 51 | + this.adMarkers = builder.adMarkers; |
| 52 | + this.dateTimeInterval = builder.dateTimeInterval; |
| 53 | + this.manifestName = builder.manifestName; |
| 54 | + this.maxVideoBitrate = builder.maxVideoBitrate; |
| 55 | + this.minBufferTime = builder.minBufferTime; |
| 56 | + this.minVideoBitrate = builder.minVideoBitrate; |
| 57 | + this.protocol = builder.protocol; |
| 58 | + this.segmentNum = builder.segmentNum; |
| 59 | + this.streamOrder = builder.streamOrder; |
| 60 | + this.useAudioRenditionGroups = builder.useAudioRenditionGroups; |
| 61 | + } |
| 62 | + |
| 63 | + public static Builder builder() { |
| 64 | + return new Builder(); |
| 65 | + } |
| 66 | + |
| 67 | + public static LiveManifestConfig create() { |
| 68 | + return builder().build(); |
| 69 | + } |
| 70 | + |
| 71 | + public Builder toBuilder() { |
| 72 | + return new Builder(this); |
| 73 | + } |
| 74 | + |
| 75 | + /** |
| 76 | + * @return adMarkers |
| 77 | + */ |
| 78 | + public String getAdMarkers() { |
| 79 | + return this.adMarkers; |
| 80 | + } |
| 81 | + |
| 82 | + /** |
| 83 | + * @return dateTimeInterval |
| 84 | + */ |
| 85 | + public Integer getDateTimeInterval() { |
| 86 | + return this.dateTimeInterval; |
| 87 | + } |
| 88 | + |
| 89 | + /** |
| 90 | + * @return manifestName |
| 91 | + */ |
| 92 | + public String getManifestName() { |
| 93 | + return this.manifestName; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * @return maxVideoBitrate |
| 98 | + */ |
| 99 | + public Integer getMaxVideoBitrate() { |
| 100 | + return this.maxVideoBitrate; |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * @return minBufferTime |
| 105 | + */ |
| 106 | + public Integer getMinBufferTime() { |
| 107 | + return this.minBufferTime; |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * @return minVideoBitrate |
| 112 | + */ |
| 113 | + public Integer getMinVideoBitrate() { |
| 114 | + return this.minVideoBitrate; |
| 115 | + } |
| 116 | + |
| 117 | + /** |
| 118 | + * @return protocol |
| 119 | + */ |
| 120 | + public String getProtocol() { |
| 121 | + return this.protocol; |
| 122 | + } |
| 123 | + |
| 124 | + /** |
| 125 | + * @return segmentNum |
| 126 | + */ |
| 127 | + public Integer getSegmentNum() { |
| 128 | + return this.segmentNum; |
| 129 | + } |
| 130 | + |
| 131 | + /** |
| 132 | + * @return streamOrder |
| 133 | + */ |
| 134 | + public String getStreamOrder() { |
| 135 | + return this.streamOrder; |
| 136 | + } |
| 137 | + |
| 138 | + /** |
| 139 | + * @return useAudioRenditionGroups |
| 140 | + */ |
| 141 | + public Boolean getUseAudioRenditionGroups() { |
| 142 | + return this.useAudioRenditionGroups; |
| 143 | + } |
| 144 | + |
| 145 | + public static final class Builder { |
| 146 | + private String adMarkers; |
| 147 | + private Integer dateTimeInterval; |
| 148 | + private String manifestName; |
| 149 | + private Integer maxVideoBitrate; |
| 150 | + private Integer minBufferTime; |
| 151 | + private Integer minVideoBitrate; |
| 152 | + private String protocol; |
| 153 | + private Integer segmentNum; |
| 154 | + private String streamOrder; |
| 155 | + private Boolean useAudioRenditionGroups; |
| 156 | + |
| 157 | + private Builder() { |
| 158 | + } |
| 159 | + |
| 160 | + private Builder(LiveManifestConfig model) { |
| 161 | + this.adMarkers = model.adMarkers; |
| 162 | + this.dateTimeInterval = model.dateTimeInterval; |
| 163 | + this.manifestName = model.manifestName; |
| 164 | + this.maxVideoBitrate = model.maxVideoBitrate; |
| 165 | + this.minBufferTime = model.minBufferTime; |
| 166 | + this.minVideoBitrate = model.minVideoBitrate; |
| 167 | + this.protocol = model.protocol; |
| 168 | + this.segmentNum = model.segmentNum; |
| 169 | + this.streamOrder = model.streamOrder; |
| 170 | + this.useAudioRenditionGroups = model.useAudioRenditionGroups; |
| 171 | + } |
| 172 | + |
| 173 | + /** |
| 174 | + * AdMarkers. |
| 175 | + */ |
| 176 | + public Builder adMarkers(String adMarkers) { |
| 177 | + this.adMarkers = adMarkers; |
| 178 | + return this; |
| 179 | + } |
| 180 | + |
| 181 | + /** |
| 182 | + * DateTimeInterval. |
| 183 | + */ |
| 184 | + public Builder dateTimeInterval(Integer dateTimeInterval) { |
| 185 | + this.dateTimeInterval = dateTimeInterval; |
| 186 | + return this; |
| 187 | + } |
| 188 | + |
| 189 | + /** |
| 190 | + * ManifestName. |
| 191 | + */ |
| 192 | + public Builder manifestName(String manifestName) { |
| 193 | + this.manifestName = manifestName; |
| 194 | + return this; |
| 195 | + } |
| 196 | + |
| 197 | + /** |
| 198 | + * MaxVideoBitrate. |
| 199 | + */ |
| 200 | + public Builder maxVideoBitrate(Integer maxVideoBitrate) { |
| 201 | + this.maxVideoBitrate = maxVideoBitrate; |
| 202 | + return this; |
| 203 | + } |
| 204 | + |
| 205 | + /** |
| 206 | + * MinBufferTime. |
| 207 | + */ |
| 208 | + public Builder minBufferTime(Integer minBufferTime) { |
| 209 | + this.minBufferTime = minBufferTime; |
| 210 | + return this; |
| 211 | + } |
| 212 | + |
| 213 | + /** |
| 214 | + * MinVideoBitrate. |
| 215 | + */ |
| 216 | + public Builder minVideoBitrate(Integer minVideoBitrate) { |
| 217 | + this.minVideoBitrate = minVideoBitrate; |
| 218 | + return this; |
| 219 | + } |
| 220 | + |
| 221 | + /** |
| 222 | + * Protocol. |
| 223 | + */ |
| 224 | + public Builder protocol(String protocol) { |
| 225 | + this.protocol = protocol; |
| 226 | + return this; |
| 227 | + } |
| 228 | + |
| 229 | + /** |
| 230 | + * SegmentNum. |
| 231 | + */ |
| 232 | + public Builder segmentNum(Integer segmentNum) { |
| 233 | + this.segmentNum = segmentNum; |
| 234 | + return this; |
| 235 | + } |
| 236 | + |
| 237 | + /** |
| 238 | + * StreamOrder. |
| 239 | + */ |
| 240 | + public Builder streamOrder(String streamOrder) { |
| 241 | + this.streamOrder = streamOrder; |
| 242 | + return this; |
| 243 | + } |
| 244 | + |
| 245 | + /** |
| 246 | + * UseAudioRenditionGroups. |
| 247 | + */ |
| 248 | + public Builder useAudioRenditionGroups(Boolean useAudioRenditionGroups) { |
| 249 | + this.useAudioRenditionGroups = useAudioRenditionGroups; |
| 250 | + return this; |
| 251 | + } |
| 252 | + |
| 253 | + public LiveManifestConfig build() { |
| 254 | + return new LiveManifestConfig(this); |
| 255 | + } |
| 256 | + |
| 257 | + } |
| 258 | + |
| 259 | +} |
0 commit comments