Guest User

Untitled

a guest
Jan 5th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.25 KB | None | 0 0
  1. {
  2. "details": "{"max_keep_days":"","notes":"","dir":"","auto_host_enable":"1","auto_host":"https://videos3.earthcam.com/fecnetwork/9189.flv/playlist.m3u8","rtsp_transport":"tcp","muser":"","mpass":"","port_force":"0","fatal_max":"0","skip_ping":null,"is_onvif":null,"onvif_port":"","aduration":"1000000","probesize":"1000000","stream_loop":"0","sfps":"","accelerator":"0","hwaccel":"auto","hwaccel_vcodec":"","hwaccel_device":"","stream_type":"mp4","stream_flv_type":"ws","stream_flv_maxLatency":"","stream_mjpeg_clients":"","stream_vcodec":"copy","stream_acodec":"no","hls_time":"2","hls_list_size":"3","preset_stream":"ultrafast","signal_check":"10","signal_check_log":"0","stream_quality":"15","stream_fps":"2","stream_scale_x":"","stream_scale_y":"","rotate_stream":"no","svf":"","tv_channel":"0","tv_channel_id":"","tv_channel_group_title":"","stream_timestamp":"0","stream_timestamp_font":"","stream_timestamp_font_size":"","stream_timestamp_color":"","stream_timestamp_box_color":"","stream_timestamp_x":"","stream_timestamp_y":"","stream_watermark":"0","stream_watermark_location":"","stream_watermark_position":"tr","snap":"0","snap_fps":"","snap_scale_x":"","snap_scale_y":"","snap_vf":"","vcodec":"copy","crf":"1","preset_record":"","acodec":"no","dqf":"0","cutoff":"15","rotate_record":"no","vf":"","timestamp":"0","timestamp_font":"","timestamp_font_size":"10","timestamp_color":"white","timestamp_box_color":"0x00000000@1","timestamp_x":"(w-tw)/2","timestamp_y":"0","watermark":"0","watermark_location":"","watermark_position":"tr","cust_input":"","cust_snap":"","cust_rtmp":"","cust_rawh264":"","cust_detect":"","cust_stream":"","cust_stream_server":"","cust_record":"","custom_output":"","detector":"0","detector_send_frames":"1","detector_lock_timeout":"","detector_save":"0","detector_fps":"","detector_scale_x":"640","detector_scale_y":"480","detector_record_method":"sip","detector_trigger":"1","detector_trigger_record_fps":"","detector_timeout":"10","watchdog_reset":"0","detector_delete_motionless_videos":"0","detector_webhook":"0","detector_webhook_url":"","detector_command_enable":"0","detector_command":"","detector_command_timeout":"","detector_mail":"0","detector_mail_send_video":null,"detector_mail_timeout":"","detector_discordbot":null,"detector_discordbot_send_video":null,"detector_discordbot_timeout":"","use_detector_filters":null,"use_detector_filters_object":null,"cords":"[]","detector_filters":"","detector_pam":"1","detector_show_matrix":null,"detector_sensitivity":"","detector_max_sensitivity":"","detector_threshold":"1","detector_color_threshold":"","detector_frame":"0","detector_noise_filter":null,"detector_noise_filter_range":"","detector_notrigger":"0","detector_notrigger_mail":"0","detector_notrigger_timeout":"","detector_use_detect_object":"0","detector_use_motion":"1","detector_fps_object":"","detector_scale_x_object":"","detector_scale_y_object":"","detector_lisence_plate":"0","detector_lisence_plate_country":"us","detector_buffer_vcodec":"auto","detector_buffer_acodec":null,"detector_buffer_fps":"","detector_buffer_hls_time":"","detector_buffer_hls_list_size":"","detector_buffer_start_number":"","detector_buffer_live_start_index":"","control":"0","control_base_url":"","control_url_method":null,"control_digest_auth":null,"control_stop":"0","control_url_stop_timeout":"","control_url_center":"","control_url_left":"","control_url_left_stop":"","control_url_right":"""control_url_right_stop":"","control_url_up":"","control_url_up_stop":"","control_url_down":"","control_url_down_stop":"","control_url_enable_nv":"","control_url_disable_nv":"","control_url_zoom_out":"","control_url_zoom_out_stop":"","control_url_zoom_in":"","control_url_zoom_in_stop":"","groups":"[]","loglevel":"warning","sqllog":"0","detector_cascades":"","stream_channels":"","input_maps":"","input_map_choices":""}"
  3. }
  4.  
  5. import java.io.Serializable;
  6. import com.fasterxml.jackson.annotation.JsonInclude;
  7. import com.fasterxml.jackson.annotation.JsonProperty;
  8. import com.fasterxml.jackson.annotation.JsonPropertyOrder;
  9.  
  10. @JsonInclude(JsonInclude.Include.NON_NULL)
  11. @JsonPropertyOrder({
  12. "max_keep_days",
  13. "notes",
  14. "dir",
  15. "auto_host_enable",
  16. "auto_host",
  17. "rtsp_transport",
  18. "muser",
  19. "mpass",
  20. "port_force"
  21. })
  22. public class Details implements Serializable
  23. {
  24.  
  25. @JsonProperty("max_keep_days")
  26. private String max_keep_days;
  27. @JsonProperty("notes")
  28. private String notes;
  29. @JsonProperty("dir")
  30. private String dir;
  31. @JsonProperty("auto_host_enable")
  32. private String auto_host_enable;
  33. @JsonProperty("auto_host")
  34. private String auto_host;
  35. @JsonProperty("rtsp_transport")
  36. private String rtsp_transport;
  37. @JsonProperty("muser")
  38. private String muser;
  39. @JsonProperty("mpass")
  40. private String mpass;
  41. @JsonProperty("port_force")
  42. private String port_force;
  43. private final static long serialVersionUID = 4253775945877731727L;
  44.  
  45. @JsonProperty("max_keep_days")
  46. public String getMax_keep_days() {
  47. return max_keep_days;
  48. }
  49.  
  50. @JsonProperty("max_keep_days")
  51. public void setMax_keep_days(String max_keep_days) {
  52. this.max_keep_days = max_keep_days;
  53. }
  54.  
  55. @JsonProperty("notes")
  56. public String getNotes() {
  57. return notes;
  58. }
  59.  
  60. @JsonProperty("notes")
  61. public void setNotes(String notes) {
  62. this.notes = notes;
  63. }
  64.  
  65. @JsonProperty("dir")
  66. public String getDir() {
  67. return dir;
  68. }
  69.  
  70. @JsonProperty("dir")
  71. public void setDir(String dir) {
  72. this.dir = dir;
  73. }
  74.  
  75. @JsonProperty("auto_host_enable")
  76. public String getAuto_host_enable() {
  77. return auto_host_enable;
  78. }
  79.  
  80. @JsonProperty("auto_host_enable")
  81. public void setAuto_host_enable(String auto_host_enable) {
  82. this.auto_host_enable = auto_host_enable;
  83. }
  84.  
  85. @JsonProperty("auto_host")
  86. public String getAuto_host() {
  87. return auto_host;
  88. }
  89.  
  90. @JsonProperty("auto_host")
  91. public void setAuto_host(String auto_host) {
  92. this.auto_host = auto_host;
  93. }
  94.  
  95. @JsonProperty("rtsp_transport")
  96. public String getRtsp_transport() {
  97. return rtsp_transport;
  98. }
  99.  
  100. @JsonProperty("rtsp_transport")
  101. public void setRtsp_transport(String rtsp_transport) {
  102. this.rtsp_transport = rtsp_transport;
  103. }
  104.  
  105. @JsonProperty("muser")
  106. public String getMuser() {
  107. return muser;
  108. }
  109.  
  110. @JsonProperty("muser")
  111. public void setMuser(String muser) {
  112. this.muser = muser;
  113. }
  114.  
  115. @JsonProperty("mpass")
  116. public String getMpass() {
  117. return mpass;
  118. }
  119.  
  120. @JsonProperty("mpass")
  121. public void setMpass(String mpass) {
  122. this.mpass = mpass;
  123. }
  124.  
  125. @JsonProperty("port_force")
  126. public String getPort_force() {
  127. return port_force;
  128. }
  129.  
  130. @JsonProperty("port_force")
  131. public void setPort_force(String port_force) {
  132. this.port_force = port_force;
  133. }
  134. }
  135.  
  136. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  137. import com.fasterxml.jackson.annotation.JsonInclude;
  138. import com.fasterxml.jackson.annotation.JsonProperty;
  139. import com.fasterxml.jackson.annotation.JsonPropertyOrder;
  140.  
  141. import java.io.Serializable;
  142. import java.util.List;
  143.  
  144. @JsonInclude(JsonInclude.Include.NON_NULL)
  145. @JsonPropertyOrder({
  146. "mid",
  147. "ke",
  148. "name",
  149. "shto",
  150. "shfr",
  151. "details",
  152. "type",
  153. "ext",
  154. "protocol",
  155. "host",
  156. "path",
  157. "port",
  158. "fps",
  159. "mode",
  160. "width",
  161. "height",
  162. "currentlyWatching",
  163. "currentCpuUsage",
  164. "status",
  165. "streams",
  166. "streamsSortedByType"
  167. })
  168. @JsonIgnoreProperties(ignoreUnknown = true)
  169. public class Monitor implements Serializable {
  170.  
  171. @JsonProperty("mid")
  172. private String mid;
  173. @JsonProperty("ke")
  174. private String ke;
  175. @JsonProperty("name")
  176. private String name;
  177. @JsonProperty("shto")
  178. private String shto;
  179. @JsonProperty("shfr")
  180. private String shfr;
  181. @JsonProperty("details")
  182. private Details details;
  183. @JsonProperty("type")
  184. private String type;
  185. @JsonProperty("ext")
  186. private String ext;
  187. @JsonProperty("protocol")
  188. private String protocol;
  189. @JsonProperty("host")
  190. private String host;
  191. @JsonProperty("path")
  192. private String path;
  193. @JsonProperty("port")
  194. private Long port;
  195. @JsonProperty("fps")
  196. private Long fps;
  197. @JsonProperty("mode")
  198. private String mode;
  199. @JsonProperty("width")
  200. private Long width;
  201. @JsonProperty("height")
  202. private Long height;
  203. @JsonProperty("currentlyWatching")
  204. private Long currentlyWatching;
  205. @JsonProperty("currentCpuUsage")
  206. private Float currentCpuUsage;
  207. @JsonProperty("status")
  208. private String status;
  209. @JsonProperty("snapshot")
  210. private String snapshot;
  211. @JsonProperty("streams")
  212. private List<String> streams = null;
  213. @JsonProperty("streamsSortedByType")
  214. private StreamsSortedByType streamsSortedByType;
  215.  
  216. private final static long serialVersionUID = -7389140931424648308L;
  217.  
  218. @JsonProperty("mid")
  219. public String getMid() {
  220. return mid;
  221. }
  222.  
  223. @JsonProperty("mid")
  224. public void setMid(String mid) {
  225. this.mid = mid;
  226. }
  227.  
  228. @JsonProperty("ke")
  229. public String getKe() {
  230. return ke;
  231. }
  232.  
  233. @JsonProperty("ke")
  234. public void setKe(String ke) {
  235. this.ke = ke;
  236. }
  237.  
  238. @JsonProperty("name")
  239. public String getName() {
  240. return name;
  241. }
  242.  
  243. @JsonProperty("name")
  244. public void setName(String name) {
  245. this.name = name;
  246. }
  247.  
  248. @JsonProperty("shto")
  249. public String getShto() {
  250. return shto;
  251. }
  252.  
  253. @JsonProperty("shto")
  254. public void setShto(String shto) {
  255. this.shto = shto;
  256. }
  257.  
  258. @JsonProperty("shfr")
  259. public String getShfr() {
  260. return shfr;
  261. }
  262.  
  263. @JsonProperty("shfr")
  264. public void setShfr(String shfr) {
  265. this.shfr = shfr;
  266. }
  267.  
  268. @JsonProperty("details")
  269. public Details getDetails() {
  270. return details;
  271. }
  272.  
  273. @JsonProperty("details")
  274. public void setDetails(Details details) {
  275. this.details = details;
  276. }
  277.  
  278. @JsonProperty("type")
  279. public String getType() {
  280. return type;
  281. }
  282.  
  283. @JsonProperty("type")
  284. public void setType(String type) {
  285. this.type = type;
  286. }
  287.  
  288. @JsonProperty("ext")
  289. public String getExt() {
  290. return ext;
  291. }
  292.  
  293. @JsonProperty("ext")
  294. public void setExt(String ext) {
  295. this.ext = ext;
  296. }
  297.  
  298. @JsonProperty("protocol")
  299. public String getProtocol() {
  300. return protocol;
  301. }
  302.  
  303. @JsonProperty("protocol")
  304. public void setProtocol(String protocol) {
  305. this.protocol = protocol;
  306. }
  307.  
  308. @JsonProperty("host")
  309. public String getHost() {
  310. return host;
  311. }
  312.  
  313. @JsonProperty("host")
  314. public void setHost(String host) {
  315. this.host = host;
  316. }
  317.  
  318. @JsonProperty("path")
  319. public String getPath() {
  320. return path;
  321. }
  322.  
  323. @JsonProperty("path")
  324. public void setPath(String path) {
  325. this.path = path;
  326. }
  327.  
  328. @JsonProperty("port")
  329. public Long getPort() {
  330. return port;
  331. }
  332.  
  333. @JsonProperty("port")
  334. public void setPort(Long port) {
  335. this.port = port;
  336. }
  337.  
  338. @JsonProperty("fps")
  339. public Long getFps() {
  340. return fps;
  341. }
  342.  
  343. @JsonProperty("fps")
  344. public void setFps(Long fps) {
  345. this.fps = fps;
  346. }
  347.  
  348. @JsonProperty("mode")
  349. public String getMode() {
  350. return mode;
  351. }
  352.  
  353. @JsonProperty("mode")
  354. public void setMode(String mode) {
  355. this.mode = mode;
  356. }
  357.  
  358. @JsonProperty("width")
  359. public Long getWidth() {
  360. return width;
  361. }
  362.  
  363. @JsonProperty("width")
  364. public void setWidth(Long width) {
  365. this.width = width;
  366. }
  367.  
  368. @JsonProperty("height")
  369. public Long getHeight() {
  370. return height;
  371. }
  372.  
  373. @JsonProperty("height")
  374. public void setHeight(Long height) {
  375. this.height = height;
  376. }
  377.  
  378. @JsonProperty("currentlyWatching")
  379. public Long getCurrentlyWatching() {
  380. return currentlyWatching;
  381. }
  382.  
  383. @JsonProperty("currentlyWatching")
  384. public void setCurrentlyWatching(Long currentlyWatching) {
  385. this.currentlyWatching = currentlyWatching;
  386. }
  387.  
  388. @JsonProperty("currentCpuUsage")
  389. public Float getCurrentCpuUsage() {
  390. return currentCpuUsage;
  391. }
  392.  
  393. @JsonProperty("currentCpuUsage")
  394. public void setCurrentCpuUsage(Float currentCpuUsage) {
  395. this.currentCpuUsage = currentCpuUsage;
  396. }
  397.  
  398. @JsonProperty("status")
  399. public String getStatus() {
  400. return status;
  401. }
  402.  
  403. @JsonProperty("status")
  404. public void setStatus(String status) {
  405. this.status = status;
  406. }
  407.  
  408. @JsonProperty("snapshot")
  409. public String getSnapshot() {
  410. return snapshot;
  411. }
  412.  
  413. @JsonProperty("snapshot")
  414. public void setSnapshot(String snapshot) {
  415. this.snapshot = snapshot;
  416. }
  417.  
  418. @JsonProperty("streams")
  419. public List<String> getStreams() {
  420. return streams;
  421. }
  422.  
  423. @JsonProperty("streams")
  424. public void setStreams(List<String> streams) {
  425. this.streams = streams;
  426. }
  427.  
  428. @JsonProperty("streamsSortedByType")
  429. public StreamsSortedByType getStreamsSortedByType() {
  430. return streamsSortedByType;
  431. }
  432.  
  433. @JsonProperty("streamsSortedByType")
  434. public void setStreamsSortedByType(StreamsSortedByType streamsSortedByType) {
  435. this.streamsSortedByType = streamsSortedByType;
  436. }
  437.  
  438. }
Add Comment
Please, Sign In to add comment