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

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


	protected String deviceId;
	protected Double aspectRatio;
	protected Integer width;
	protected Integer height;
	protected UiVideoFacingMode facingMode = UiVideoFacingMode.USER;
	protected double frameRate = 20;

	public UiVideoTrackConstraints() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("deviceId=" + deviceId).append(", ")
				.append("aspectRatio=" + aspectRatio).append(", ")
				.append("width=" + width).append(", ")
				.append("height=" + height).append(", ")
				.append("facingMode=" + facingMode).append(", ")
				.append("frameRate=" + frameRate)
				.toString();
	}

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

	@com.fasterxml.jackson.annotation.JsonGetter("aspectRatio")
	public Double getAspectRatio() {
		return aspectRatio;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("width")
	public Integer getWidth() {
		return width;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("height")
	public Integer getHeight() {
		return height;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("facingMode")
	public UiVideoFacingMode getFacingMode() {
		return facingMode;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("aspectRatio")
	public UiVideoTrackConstraints setAspectRatio(Double aspectRatio) {
		this.aspectRatio = aspectRatio;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("width")
	public UiVideoTrackConstraints setWidth(Integer width) {
		this.width = width;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("height")
	public UiVideoTrackConstraints setHeight(Integer height) {
		this.height = height;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("facingMode")
	public UiVideoTrackConstraints setFacingMode(UiVideoFacingMode facingMode) {
		this.facingMode = facingMode;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("frameRate")
	public UiVideoTrackConstraints setFrameRate(double frameRate) {
		this.frameRate = frameRate;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy