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

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


	protected String deviceId;
	protected int channelCount = 1;
	protected boolean autoGainControl = true;
	protected double gainFactor;
	protected boolean echoCancellation = true;
	protected boolean noiseSuppression = true;

	public UiAudioTrackConstraints() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("deviceId=" + deviceId).append(", ")
				.append("channelCount=" + channelCount).append(", ")
				.append("autoGainControl=" + autoGainControl).append(", ")
				.append("gainFactor=" + gainFactor).append(", ")
				.append("echoCancellation=" + echoCancellation).append(", ")
				.append("noiseSuppression=" + noiseSuppression)
				.toString();
	}

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

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("gainFactor")
	public double getGainFactor() {
		return gainFactor;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("deviceId")
	public UiAudioTrackConstraints setDeviceId(String deviceId) {
		this.deviceId = deviceId;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("channelCount")
	public UiAudioTrackConstraints setChannelCount(int channelCount) {
		this.channelCount = channelCount;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("autoGainControl")
	public UiAudioTrackConstraints setAutoGainControl(boolean autoGainControl) {
		this.autoGainControl = autoGainControl;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("gainFactor")
	public UiAudioTrackConstraints setGainFactor(double gainFactor) {
		this.gainFactor = gainFactor;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("echoCancellation")
	public UiAudioTrackConstraints setEchoCancellation(boolean echoCancellation) {
		this.echoCancellation = echoCancellation;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("noiseSuppression")
	public UiAudioTrackConstraints setNoiseSuppression(boolean noiseSuppression) {
		this.noiseSuppression = noiseSuppression;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy