Subscription.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */



  20. package org.openspcoop2.core.mapping;

  21. import java.util.List;

  22. import org.openspcoop2.core.allarmi.Allarme;
  23. import org.openspcoop2.core.config.PortaDelegata;
  24. import org.openspcoop2.core.controllo_traffico.AttivazionePolicy;

  25. /**
  26.  * Subscription
  27.  *
  28.  *
  29.  * @author Poli Andrea (apoli@link.it)
  30.  * @author $Author$
  31.  * @version $Rev$, $Date$
  32.  */

  33. public class Subscription implements java.io.Serializable {

  34.     /**
  35.      *
  36.      */
  37.     private static final long serialVersionUID = 1L;
  38.    
  39.     private PortaDelegata portaDelegata;
  40.     private MappingFruizionePortaDelegata mapping;
  41.     private List<AttivazionePolicy> rateLimitingPolicies;
  42.     private List<Allarme> allarmi;
  43.    
  44.     public List<Allarme> getAllarmi() {
  45.         return this.allarmi;
  46.     }
  47.     public void setAllarmi(List<Allarme> allarmi) {
  48.         this.allarmi = allarmi;
  49.     }
  50.     public List<AttivazionePolicy> getRateLimitingPolicies() {
  51.         return this.rateLimitingPolicies;
  52.     }
  53.     public void setRateLimitingPolicies(List<AttivazionePolicy> rateLimitingPolicies) {
  54.         this.rateLimitingPolicies = rateLimitingPolicies;
  55.     }
  56.     public PortaDelegata getPortaDelegata() {
  57.         return this.portaDelegata;
  58.     }
  59.     public void setPortaDelegata(PortaDelegata portaDelegata) {
  60.         this.portaDelegata = portaDelegata;
  61.     }
  62.     public MappingFruizionePortaDelegata getMapping() {
  63.         return this.mapping;
  64.     }
  65.     public void setMapping(MappingFruizionePortaDelegata mapping) {
  66.         this.mapping = mapping;
  67.     }
  68. }