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

org.teamapps.dto.UiWebRtcPublishingMediaSettings Maven / Gradle / Ivy

There is a newer version: 0.9.194
Show 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 = UiWebRtcPublishingMediaSettings.class)
public class UiWebRtcPublishingMediaSettings implements UiObject {


	protected boolean audio = true;
	protected UiAudioCodec audioCodec = UiAudioCodec.OPUS;
	protected int audioKiloBitsPerSecond = 64;
	protected boolean video = true;
	protected UiVideoCodec videoCodec = UiVideoCodec.H264;
	protected int videoWidth = 720;
	protected int videoHeight = 480;
	protected int videoFps = 25;
	protected int videoKiloBitsPerSecond = 400;
	protected boolean screen = false;

	public UiWebRtcPublishingMediaSettings() {
	}

	@com.fasterxml.jackson.annotation.JsonIgnore
	public UiObjectType getUiObjectType() {
		return UiObjectType.UI_WEB_RTC_PUBLISHING_MEDIA_SETTINGS;
	}

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("audio=" + audio).append(", ")
				.append("audioCodec=" + audioCodec).append(", ")
				.append("audioKiloBitsPerSecond=" + audioKiloBitsPerSecond).append(", ")
				.append("video=" + video).append(", ")
				.append("videoCodec=" + videoCodec).append(", ")
				.append("videoWidth=" + videoWidth).append(", ")
				.append("videoHeight=" + videoHeight).append(", ")
				.append("videoFps=" + videoFps).append(", ")
				.append("videoKiloBitsPerSecond=" + videoKiloBitsPerSecond).append(", ")
				.append("screen=" + screen)
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("audio")
	public boolean getAudio() {
		return audio;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("audioCodec")
	public UiAudioCodec getAudioCodec() {
		return audioCodec;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("audioKiloBitsPerSecond")
	public int getAudioKiloBitsPerSecond() {
		return audioKiloBitsPerSecond;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("video")
	public boolean getVideo() {
		return video;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoCodec")
	public UiVideoCodec getVideoCodec() {
		return videoCodec;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoWidth")
	public int getVideoWidth() {
		return videoWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoHeight")
	public int getVideoHeight() {
		return videoHeight;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoFps")
	public int getVideoFps() {
		return videoFps;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoKiloBitsPerSecond")
	public int getVideoKiloBitsPerSecond() {
		return videoKiloBitsPerSecond;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("screen")
	public boolean getScreen() {
		return screen;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("audio")
	public UiWebRtcPublishingMediaSettings setAudio(boolean audio) {
		this.audio = audio;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("audioCodec")
	public UiWebRtcPublishingMediaSettings setAudioCodec(UiAudioCodec audioCodec) {
		this.audioCodec = audioCodec;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("audioKiloBitsPerSecond")
	public UiWebRtcPublishingMediaSettings setAudioKiloBitsPerSecond(int audioKiloBitsPerSecond) {
		this.audioKiloBitsPerSecond = audioKiloBitsPerSecond;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("video")
	public UiWebRtcPublishingMediaSettings setVideo(boolean video) {
		this.video = video;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoCodec")
	public UiWebRtcPublishingMediaSettings setVideoCodec(UiVideoCodec videoCodec) {
		this.videoCodec = videoCodec;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoWidth")
	public UiWebRtcPublishingMediaSettings setVideoWidth(int videoWidth) {
		this.videoWidth = videoWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoHeight")
	public UiWebRtcPublishingMediaSettings setVideoHeight(int videoHeight) {
		this.videoHeight = videoHeight;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoFps")
	public UiWebRtcPublishingMediaSettings setVideoFps(int videoFps) {
		this.videoFps = videoFps;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoKiloBitsPerSecond")
	public UiWebRtcPublishingMediaSettings setVideoKiloBitsPerSecond(int videoKiloBitsPerSecond) {
		this.videoKiloBitsPerSecond = videoKiloBitsPerSecond;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("screen")
	public UiWebRtcPublishingMediaSettings setScreen(boolean screen) {
		this.screen = screen;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy