io.github.lunasaw.gb28181.common.entity.response.DeviceConfigResponse Maven / Gradle / Ivy
The newest version!
package io.github.lunasaw.gb28181.common.entity.response;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import io.github.lunasaw.gb28181.common.entity.base.DeviceBase;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
*
*
* ConfigDownload
* 340294132
* 34020000001320000264
* OK
*
* IP CAMERA
* 34020000001320000264
* 34020000002000000001
* 192.168.2.135
* 5060
* 3402000000
* 3600
* 12345678
* 60
* 3
*
*
*
* @author luna
*/
@Getter
@Setter
@NoArgsConstructor
@XmlRootElement(name = "Response")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceConfigResponse extends DeviceBase {
/**
* OK
*/
@XmlElement(name = "Result")
private String Result;
@XmlElement(name = "BasicParam")
private BasicParam BasicParam;
@Getter
@Setter
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
public static class BasicParam {
@XmlElement(name = "Name")
private String Name;
@XmlElement(name = "DeviceID")
private String DeviceID;
@XmlElement(name = "SIPServerID")
private String SIPServerID;
@XmlElement(name = "SIPServerIP")
private String SIPServerIP;
@XmlElement(name = "SIPServerPort")
private String SIPServerPort;
@XmlElement(name = "DomainName")
private String DomainName;
@XmlElement(name = "Expiration")
private String Expiration;
@XmlElement(name = "Password")
private String Password;
@XmlElement(name = "HeartBeatInterval")
private String HeartBeatInterval;
@XmlElement(name = "HeartBeatCount")
private String HeartBeatCount;
}
public DeviceConfigResponse(String cmdType, String sn, String deviceId) {
super(cmdType, sn, deviceId);
}
}