Sessions.java
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.29 at 10:16:21 PM GMT
//
package com.io7m.idstore.server.service.configuration.jaxb;
import javax.xml.datatype.Duration;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="UserSessionExpiration" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" />
* <attribute name="AdminSessionExpiration" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "Sessions")
public class Sessions {
@XmlAttribute(name = "UserSessionExpiration", required = true)
protected Duration userSessionExpiration;
@XmlAttribute(name = "AdminSessionExpiration", required = true)
protected Duration adminSessionExpiration;
/**
* Gets the value of the userSessionExpiration property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getUserSessionExpiration() {
return userSessionExpiration;
}
/**
* Sets the value of the userSessionExpiration property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setUserSessionExpiration(Duration value) {
this.userSessionExpiration = value;
}
/**
* Gets the value of the adminSessionExpiration property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getAdminSessionExpiration() {
return adminSessionExpiration;
}
/**
* Sets the value of the adminSessionExpiration property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setAdminSessionExpiration(Duration value) {
this.adminSessionExpiration = value;
}
}