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

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


	protected int frameRate;
	protected String pixelAspectRatio;
	protected int width;
	protected int height;

	public UiShakaVideoStream() {
		super();
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("originalId=" + originalId).append(", ")
				.append("mimeType=" + mimeType).append(", ")
				.append("codecs=" + codecs).append(", ")
				.append("bandwidth=" + bandwidth).append(", ")
				.append("label=" + label).append(", ")
				.append("roles=" + roles).append(", ")
				.append("frameRate=" + frameRate).append(", ")
				.append("pixelAspectRatio=" + pixelAspectRatio).append(", ")
				.append("width=" + width).append(", ")
				.append("height=" + height)
				.toString();
	}

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

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

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("id")
	public UiShakaVideoStream setId(int id) {
		this.id = id;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("originalId")
	public UiShakaVideoStream setOriginalId(String originalId) {
		this.originalId = originalId;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("mimeType")
	public UiShakaVideoStream setMimeType(String mimeType) {
		this.mimeType = mimeType;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("codecs")
	public UiShakaVideoStream setCodecs(String codecs) {
		this.codecs = codecs;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("bandwidth")
	public UiShakaVideoStream setBandwidth(int bandwidth) {
		this.bandwidth = bandwidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("label")
	public UiShakaVideoStream setLabel(String label) {
		this.label = label;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("roles")
	public UiShakaVideoStream setRoles(List roles) {
		this.roles = roles;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("pixelAspectRatio")
	public UiShakaVideoStream setPixelAspectRatio(String pixelAspectRatio) {
		this.pixelAspectRatio = pixelAspectRatio;
		return this;
	}

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

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy