RateLimiting.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>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;attribute name="UserLoginDelay" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT1S" /&gt;
 *       &lt;attribute name="UserLoginRateLimit" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT5S" /&gt;
 *       &lt;attribute name="AdminLoginDelay" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT1S" /&gt;
 *       &lt;attribute name="AdminLoginRateLimit" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT5S" /&gt;
 *       &lt;attribute name="EmailVerificationRateLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" /&gt;
 *       &lt;attribute name="PasswordResetRateLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "RateLimiting")
public class RateLimiting {

    @XmlAttribute(name = "UserLoginDelay")
    protected Duration userLoginDelay;
    @XmlAttribute(name = "UserLoginRateLimit")
    protected Duration userLoginRateLimit;
    @XmlAttribute(name = "AdminLoginDelay")
    protected Duration adminLoginDelay;
    @XmlAttribute(name = "AdminLoginRateLimit")
    protected Duration adminLoginRateLimit;
    @XmlAttribute(name = "EmailVerificationRateLimit", required = true)
    protected Duration emailVerificationRateLimit;
    @XmlAttribute(name = "PasswordResetRateLimit", required = true)
    protected Duration passwordResetRateLimit;

    /**
     * Gets the value of the userLoginDelay property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getUserLoginDelay() {
        return userLoginDelay;
    }

    /**
     * Sets the value of the userLoginDelay property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setUserLoginDelay(Duration value) {
        this.userLoginDelay = value;
    }

    /**
     * Gets the value of the userLoginRateLimit property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getUserLoginRateLimit() {
        return userLoginRateLimit;
    }

    /**
     * Sets the value of the userLoginRateLimit property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setUserLoginRateLimit(Duration value) {
        this.userLoginRateLimit = value;
    }

    /**
     * Gets the value of the adminLoginDelay property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getAdminLoginDelay() {
        return adminLoginDelay;
    }

    /**
     * Sets the value of the adminLoginDelay property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setAdminLoginDelay(Duration value) {
        this.adminLoginDelay = value;
    }

    /**
     * Gets the value of the adminLoginRateLimit property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getAdminLoginRateLimit() {
        return adminLoginRateLimit;
    }

    /**
     * Sets the value of the adminLoginRateLimit property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setAdminLoginRateLimit(Duration value) {
        this.adminLoginRateLimit = value;
    }

    /**
     * Gets the value of the emailVerificationRateLimit property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getEmailVerificationRateLimit() {
        return emailVerificationRateLimit;
    }

    /**
     * Sets the value of the emailVerificationRateLimit property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setEmailVerificationRateLimit(Duration value) {
        this.emailVerificationRateLimit = value;
    }

    /**
     * Gets the value of the passwordResetRateLimit property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getPasswordResetRateLimit() {
        return passwordResetRateLimit;
    }

    /**
     * Sets the value of the passwordResetRateLimit property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setPasswordResetRateLimit(Duration value) {
        this.passwordResetRateLimit = value;
    }

}