
package net.technisys.cmm.services.processuserloginbackoffice.rs.v1;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * <p>Java class for generic complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="generic">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="canAuthorize" minOccurs="0">
 *           &lt;complexType>
 *             &lt;simpleContent>
 *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>boolean">
 *                 &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               &lt;/extension>
 *             &lt;/simpleContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "generic", propOrder = {
    "canAuthorize"
})
public class Generic {

    protected Generic.CanAuthorize canAuthorize;

    /**
     * Gets the value of the canAuthorize property.
     * 
     * @return
     *     possible object is
     *     {@link Generic.CanAuthorize }
     *     
     */
    public Generic.CanAuthorize getCanAuthorize() {
        return canAuthorize;
    }

    /**
     * Sets the value of the canAuthorize property.
     * 
     * @param value
     *     allowed object is
     *     {@link Generic.CanAuthorize }
     *     
     */
    public void setCanAuthorize(Generic.CanAuthorize value) {
        this.canAuthorize = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;simpleContent>
     *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>boolean">
     *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     *     &lt;/extension>
     *   &lt;/simpleContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "value"
    })
    public static class CanAuthorize {

        @XmlValue
        protected boolean value;
        @XmlAttribute(required = true)
        protected boolean type;

        /**
         * Gets the value of the value property.
         * 
         */
        public boolean isValue() {
            return value;
        }

        /**
         * Sets the value of the value property.
         * 
         */
        public void setValue(boolean value) {
            this.value = value;
        }

        /**
         * Gets the value of the type property.
         * 
         */
        public boolean isType() {
            return type;
        }

        /**
         * Sets the value of the type property.
         * 
         */
        public void setType(boolean value) {
            this.type = value;
        }

    }

}
