package com.wydpp.gb28181.meta; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import javax.xml.bind.annotation.XmlAccessOrder; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorOrder; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import java.io.Serializable; import java.util.List; /** *
 *
 * Created by zhaopx.
 * Date: 2025/5/23
 * Time: 19:52
 * Vendor: exlive.cn
 *
 * 
* * @author zhaopx */ @XmlType(propOrder = {}) @XmlRootElement(name = "Response") @XmlAccessorType(XmlAccessType.PROPERTY) @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class CatalogResponse extends SipResponse { /** * 摄像头列表 */ List deviceList; public CatalogResponse() { super("Catalog"); } @XmlElementWrapper(name = "DeviceList") @XmlElement(name = "Item") public List getDeviceList() { return deviceList; } public void setDeviceList(List deviceList) { this.deviceList = deviceList; } @Override public String toString() { return "CatalogResponse" + JSON.toJSONString(this, SerializerFeature.PrettyFormat); } }