org.teamapps.dto.UiMediaSoupPlaybackParameters Maven / Gradle / Ivy
The newest version!
package org.teamapps.dto;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;
/**
* THIS IS GENERATED CODE!
* PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, property = "_type", defaultImpl = UiMediaSoupPlaybackParameters.class)
public class UiMediaSoupPlaybackParameters implements UiObject {
protected String streamUuid;
protected UiMediaServerUrlAndToken server;
protected UiMediaServerUrlAndToken origin;
protected boolean audio;
protected boolean video;
protected long minBitrate;
protected long maxBitrate;
public UiMediaSoupPlaybackParameters() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_MEDIA_SOUP_PLAYBACK_PARAMETERS;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("streamUuid=" + streamUuid).append(", ")
.append("audio=" + audio).append(", ")
.append("video=" + video).append(", ")
.append("minBitrate=" + minBitrate).append(", ")
.append("maxBitrate=" + maxBitrate).append(", ")
.append(server != null ? "server={" + server.toString() + "}" : "").append(", ")
.append(origin != null ? "origin={" + origin.toString() + "}" : "")
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("streamUuid")
public String getStreamUuid() {
return streamUuid;
}
@com.fasterxml.jackson.annotation.JsonGetter("server")
public UiMediaServerUrlAndToken getServer() {
return server;
}
@com.fasterxml.jackson.annotation.JsonGetter("origin")
public UiMediaServerUrlAndToken getOrigin() {
return origin;
}
@com.fasterxml.jackson.annotation.JsonGetter("audio")
public boolean getAudio() {
return audio;
}
@com.fasterxml.jackson.annotation.JsonGetter("video")
public boolean getVideo() {
return video;
}
@com.fasterxml.jackson.annotation.JsonGetter("minBitrate")
public long getMinBitrate() {
return minBitrate;
}
@com.fasterxml.jackson.annotation.JsonGetter("maxBitrate")
public long getMaxBitrate() {
return maxBitrate;
}
@com.fasterxml.jackson.annotation.JsonSetter("streamUuid")
public UiMediaSoupPlaybackParameters setStreamUuid(String streamUuid) {
this.streamUuid = streamUuid;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("server")
public UiMediaSoupPlaybackParameters setServer(UiMediaServerUrlAndToken server) {
this.server = server;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("origin")
public UiMediaSoupPlaybackParameters setOrigin(UiMediaServerUrlAndToken origin) {
this.origin = origin;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("audio")
public UiMediaSoupPlaybackParameters setAudio(boolean audio) {
this.audio = audio;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("video")
public UiMediaSoupPlaybackParameters setVideo(boolean video) {
this.video = video;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("minBitrate")
public UiMediaSoupPlaybackParameters setMinBitrate(long minBitrate) {
this.minBitrate = minBitrate;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("maxBitrate")
public UiMediaSoupPlaybackParameters setMaxBitrate(long maxBitrate) {
this.maxBitrate = maxBitrate;
return this;
}
}