org.teamapps.dto.UiMediaTrackMarker 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 = UiMediaTrackMarker.class)
public class UiMediaTrackMarker implements UiObject {
protected int track;
protected long start;
protected long end;
protected String color;
protected String backgroundColor;
public UiMediaTrackMarker() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_MEDIA_TRACK_MARKER;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("track=" + track).append(", ")
.append("start=" + start).append(", ")
.append("end=" + end).append(", ")
.append("color=" + color).append(", ")
.append("backgroundColor=" + backgroundColor)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("track")
public int getTrack() {
return track;
}
@com.fasterxml.jackson.annotation.JsonGetter("start")
public long getStart() {
return start;
}
@com.fasterxml.jackson.annotation.JsonGetter("end")
public long getEnd() {
return end;
}
@com.fasterxml.jackson.annotation.JsonGetter("color")
public String getColor() {
return color;
}
@com.fasterxml.jackson.annotation.JsonGetter("backgroundColor")
public String getBackgroundColor() {
return backgroundColor;
}
@com.fasterxml.jackson.annotation.JsonSetter("track")
public UiMediaTrackMarker setTrack(int track) {
this.track = track;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("start")
public UiMediaTrackMarker setStart(long start) {
this.start = start;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("end")
public UiMediaTrackMarker setEnd(long end) {
this.end = end;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("color")
public UiMediaTrackMarker setColor(String color) {
this.color = color;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("backgroundColor")
public UiMediaTrackMarker setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
}