ResponseCachingConfigurazioneRegola.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.config;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlAttribute;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for response-caching-configurazione-regola complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="response-caching-configurazione-regola"&gt;
  33.  *      &lt;attribute name="return-code-min" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" use="optional"/&gt;
  34.  *      &lt;attribute name="return-code-max" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" use="optional"/&gt;
  35.  *      &lt;attribute name="fault" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  36.  *      &lt;attribute name="cache-timeout-seconds" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" use="optional"/&gt;
  37.  * &lt;/complexType&gt;
  38.  * </pre>
  39.  *
  40.  * @version $Rev$, $Date$
  41.  *
  42.  * @author Poli Andrea (poli@link.it)
  43.  * @author $Author$
  44.  * */

  45. @XmlAccessorType(XmlAccessType.FIELD)
  46. @XmlType(name = "response-caching-configurazione-regola")

  47. @XmlRootElement(name = "response-caching-configurazione-regola")

  48. public class ResponseCachingConfigurazioneRegola extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  49.   public ResponseCachingConfigurazioneRegola() {
  50.     super();
  51.   }

  52.   public java.lang.Integer getReturnCodeMin() {
  53.     return this.returnCodeMin;
  54.   }

  55.   public void setReturnCodeMin(java.lang.Integer returnCodeMin) {
  56.     this.returnCodeMin = returnCodeMin;
  57.   }

  58.   public java.lang.Integer getReturnCodeMax() {
  59.     return this.returnCodeMax;
  60.   }

  61.   public void setReturnCodeMax(java.lang.Integer returnCodeMax) {
  62.     this.returnCodeMax = returnCodeMax;
  63.   }

  64.   public boolean isFault() {
  65.     return this.fault;
  66.   }

  67.   public boolean getFault() {
  68.     return this.fault;
  69.   }

  70.   public void setFault(boolean fault) {
  71.     this.fault = fault;
  72.   }

  73.   public java.lang.Integer getCacheTimeoutSeconds() {
  74.     return this.cacheTimeoutSeconds;
  75.   }

  76.   public void setCacheTimeoutSeconds(java.lang.Integer cacheTimeoutSeconds) {
  77.     this.cacheTimeoutSeconds = cacheTimeoutSeconds;
  78.   }

  79.   private static final long serialVersionUID = 1L;



  80.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  81.   @XmlAttribute(name="return-code-min",required=false)
  82.   protected java.lang.Integer returnCodeMin;

  83.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  84.   @XmlAttribute(name="return-code-max",required=false)
  85.   protected java.lang.Integer returnCodeMax;

  86.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  87.   @XmlAttribute(name="fault",required=false)
  88.   protected boolean fault = false;

  89.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  90.   @XmlAttribute(name="cache-timeout-seconds",required=false)
  91.   protected java.lang.Integer cacheTimeoutSeconds;

  92. }