org.teamapps.dto.UiShakaAudioStream 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 = UiShakaAudioStream.class)
public class UiShakaAudioStream extends UiAbstractShakaStream implements UiObject {
protected String language;
protected int channelsCount;
protected int audioSamplingRate;
public UiShakaAudioStream() {
super();
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_SHAKA_AUDIO_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("language=" + language).append(", ")
.append("channelsCount=" + channelsCount).append(", ")
.append("audioSamplingRate=" + audioSamplingRate)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("language")
public String getLanguage() {
return language;
}
@com.fasterxml.jackson.annotation.JsonGetter("channelsCount")
public int getChannelsCount() {
return channelsCount;
}
@com.fasterxml.jackson.annotation.JsonGetter("audioSamplingRate")
public int getAudioSamplingRate() {
return audioSamplingRate;
}
@com.fasterxml.jackson.annotation.JsonSetter("id")
public UiShakaAudioStream setId(int id) {
this.id = id;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("originalId")
public UiShakaAudioStream setOriginalId(String originalId) {
this.originalId = originalId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("mimeType")
public UiShakaAudioStream setMimeType(String mimeType) {
this.mimeType = mimeType;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("codecs")
public UiShakaAudioStream setCodecs(String codecs) {
this.codecs = codecs;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("bandwidth")
public UiShakaAudioStream setBandwidth(int bandwidth) {
this.bandwidth = bandwidth;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("label")
public UiShakaAudioStream setLabel(String label) {
this.label = label;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("roles")
public UiShakaAudioStream setRoles(List roles) {
this.roles = roles;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("language")
public UiShakaAudioStream setLanguage(String language) {
this.language = language;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("channelsCount")
public UiShakaAudioStream setChannelsCount(int channelsCount) {
this.channelsCount = channelsCount;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("audioSamplingRate")
public UiShakaAudioStream setAudioSamplingRate(int audioSamplingRate) {
this.audioSamplingRate = audioSamplingRate;
return this;
}
}