| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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;
- /**
- * <pre>
- *
- * Created by zhaopx.
- * Date: 2025/5/23
- * Time: 19:52
- * Vendor: exlive.cn
- *
- * </pre>
- *
- * @author zhaopx
- */
- @XmlType(propOrder = {})
- @XmlRootElement(name = "Response")
- @XmlAccessorType(XmlAccessType.PROPERTY)
- @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
- public class CatalogResponse extends SipResponse {
- /**
- * 摄像头列表
- */
- List<DeviceItem> deviceList;
- public CatalogResponse() {
- super("Catalog");
- }
- @XmlElementWrapper(name = "DeviceList")
- @XmlElement(name = "Item")
- public List<DeviceItem> getDeviceList() {
- return deviceList;
- }
- public void setDeviceList(List<DeviceItem> deviceList) {
- this.deviceList = deviceList;
- }
- @Override
- public String toString() {
- return "CatalogResponse" + JSON.toJSONString(this, SerializerFeature.PrettyFormat);
- }
- }
|