org.teamapps.dto.UiMediaDeviceInfo Maven / Gradle / Ivy
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 = UiMediaDeviceInfo.class)
public class UiMediaDeviceInfo implements UiObject {
protected String deviceId;
protected String groupId;
protected UiMediaDeviceKind kind;
protected String label;
public UiMediaDeviceInfo() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_MEDIA_DEVICE_INFO;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("deviceId=" + deviceId).append(", ")
.append("groupId=" + groupId).append(", ")
.append("kind=" + kind).append(", ")
.append("label=" + label)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("deviceId")
public String getDeviceId() {
return deviceId;
}
@com.fasterxml.jackson.annotation.JsonGetter("groupId")
public String getGroupId() {
return groupId;
}
@com.fasterxml.jackson.annotation.JsonGetter("kind")
public UiMediaDeviceKind getKind() {
return kind;
}
@com.fasterxml.jackson.annotation.JsonGetter("label")
public String getLabel() {
return label;
}
@com.fasterxml.jackson.annotation.JsonSetter("deviceId")
public UiMediaDeviceInfo setDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("groupId")
public UiMediaDeviceInfo setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("kind")
public UiMediaDeviceInfo setKind(UiMediaDeviceKind kind) {
this.kind = kind;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("label")
public UiMediaDeviceInfo setLabel(String label) {
this.label = label;
return this;
}
}