package com.movisens.xs.api.models;

import com.google.gson.annotations.Expose;

import java.util.ArrayList;
import java.util.List;

public class MonitoringRequest {

    @Expose
    private List<Monitoring> monitoringList = new ArrayList<Monitoring>();

    public MonitoringRequest() {
    }
    public MonitoringRequest(List<Monitoring> monitoringList) {
        this.monitoringList = monitoringList;
    }

    public List<Monitoring> getMonitoringList() {
        return monitoringList;
    }

    public void setMonitoringList(List<Monitoring> monitoringList) {
        this.monitoringList = monitoringList;
    }

    public void add(Monitoring monitoring) {
        monitoringList.add(monitoring);
    }
}

@@ -287,16 +287,17 @@
 %7B%0A    %7D%0A
+%0A
     publ
@@ -303,31 +303,17 @@
 lic 
-MonitoringRequest(List%3C
+void add(
 Moni
@@ -310,33 +310,32 @@
 d add(Monitoring
-%3E
  monitoringList)
@@ -321,36 +321,32 @@
 oring monitoring
-List
 ) %7B%0A        this
@@ -333,37 +333,32 @@
 ring) %7B%0A        
-this.
 monitoringList =
@@ -359,99 +359,13 @@
 List
- = monitoringList;%0A    %7D%0A%0A    public List%3CMonitoring%3E getMonitoringList() %7B%0A        return 
+.add(
 moni
@@ -362,36 +362,33 @@
 t.add(monitoring
-List
+)
 ;%0A    %7D%0A%0A    pub
@@ -400,25 +400,14 @@
 oid 
-setMonitoringList
+addAll
 (Lis
@@ -434,110 +434,9 @@
 ring
-List) %7B%0A        this.monitoringList = monitoringList;%0A    %7D%0A%0A    public void add(Monitoring monitoring
+s
 ) %7B%0A
@@ -453,32 +453,35 @@
 nitoringList.add
+All
 (monitoring);%0A  
@@ -467,27 +467,28 @@
 ddAll(monitoring
+s
 );%0A    %7D%0A%7D%0A

add list of monitorings