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

org.teamapps.dto.UiMediaInputSettings 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 = UiMediaInputSettings.class)
public class UiMediaInputSettings implements UiObject {


	protected boolean audio = true;
	protected int audioKiloBitsPerSecond;
	protected boolean video;
	protected int videoWidth;
	protected int videoHeight;
	protected int videoFps;
	protected int videoKiloBitsPerSecond;

	public UiMediaInputSettings() {
	}

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

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

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

	@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("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.JsonSetter("audio")
	public UiMediaInputSettings setAudio(boolean audio) {
		this.audio = audio;
		return this;
	}

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

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

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

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

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

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy