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

org.teamapps.dto.UiMediaSoupPublishingParameters 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")
@JsonTypeIdResolver(TeamAppsJacksonTypeIdResolver.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UiMediaSoupPublishingParameters implements UiObject {


	protected String serverUrl;
	protected String uid;
	protected String token;
	protected UiAudioTrackConstraints audioConstraints;
	protected UiVideoTrackConstraints videoConstraints;
	protected UiScreenSharingConstraints screenSharingConstraints;
	protected long minBitrate;
	protected long maxBitrate;

	public UiMediaSoupPublishingParameters() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("serverUrl=" + serverUrl).append(", ")
				.append("uid=" + uid).append(", ")
				.append("token=" + token).append(", ")
				.append("minBitrate=" + minBitrate).append(", ")
				.append("maxBitrate=" + maxBitrate).append(", ")
				.append(audioConstraints != null ? "audioConstraints={" + audioConstraints.toString() + "}" : "").append(", ")
				.append(videoConstraints != null ? "videoConstraints={" + videoConstraints.toString() + "}" : "").append(", ")
				.append(screenSharingConstraints != null ? "screenSharingConstraints={" + screenSharingConstraints.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("serverUrl")
	public String getServerUrl() {
		return serverUrl;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("uid")
	public String getUid() {
		return uid;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("token")
	public String getToken() {
		return token;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("audioConstraints")
	public UiAudioTrackConstraints getAudioConstraints() {
		return audioConstraints;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("videoConstraints")
	public UiVideoTrackConstraints getVideoConstraints() {
		return videoConstraints;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("screenSharingConstraints")
	public UiScreenSharingConstraints getScreenSharingConstraints() {
		return screenSharingConstraints;
	}

	@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("serverUrl")
	public UiMediaSoupPublishingParameters setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("uid")
	public UiMediaSoupPublishingParameters setUid(String uid) {
		this.uid = uid;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("token")
	public UiMediaSoupPublishingParameters setToken(String token) {
		this.token = token;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("audioConstraints")
	public UiMediaSoupPublishingParameters setAudioConstraints(UiAudioTrackConstraints audioConstraints) {
		this.audioConstraints = audioConstraints;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("videoConstraints")
	public UiMediaSoupPublishingParameters setVideoConstraints(UiVideoTrackConstraints videoConstraints) {
		this.videoConstraints = videoConstraints;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("screenSharingConstraints")
	public UiMediaSoupPublishingParameters setScreenSharingConstraints(UiScreenSharingConstraints screenSharingConstraints) {
		this.screenSharingConstraints = screenSharingConstraints;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("minBitrate")
	public UiMediaSoupPublishingParameters setMinBitrate(long minBitrate) {
		this.minBitrate = minBitrate;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("maxBitrate")
	public UiMediaSoupPublishingParameters setMaxBitrate(long maxBitrate) {
		this.maxBitrate = maxBitrate;
		return this;
	}






}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy