/**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.openhab.binding.plex.internal.communication.websocket;
import java.util.List;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* This object holds updates received from the Plex websocket connection for api level 1
*
* @author Jeroen Idserda
* @since 1.7.0
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Update {
@JsonProperty(value = "_elementType")
private String elementType;
private String type;
@JsonProperty(value = "_children")
private List<Child> children;
public String getElementType() {
return elementType;
}
public void setElementType(String elementType) {
this.elementType = elementType;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List<Child> getChildren() {
return children;
}
public void setChildren(List<Child> children) {
this.children = children;
}
}