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

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


	protected int id;
	protected String originalId;
	protected String mimeType;
	protected String codecs;
	protected int bandwidth;
	protected String label;
	protected List roles;

	public UiAbstractShakaStream() {
	}


	@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)
				.toString();
	}

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

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

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

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

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("roles")
	public List getRoles() {
		return roles;
	}

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

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

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

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

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

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

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy