
package ru.nbch.credit_tracker.entities.external_request.signals;

import jakarta.xml.bind.annotation.*;
import lombok.Getter;
import lombok.Setter;


@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "id",
    "auth",
    "conditions"
})
@XmlRootElement(name = "Signals")
public class Signals {

    @XmlElement(name = "Id", required = true)
    protected String id;
    @XmlElement(name = "Auth", required = true)
    protected Auth auth;
    @XmlElement(name = "Conditions", required = true)
    protected Conditions conditions;
    @XmlAttribute(name = "online", required = true)
    protected String online;
    @XmlAttribute(name = "processWithErrors", required = true)
    protected String processWithErrors;

    public Conditions getConditions() {
        if (conditions == null) {
            conditions = new Conditions();
        }
        return conditions;
    }
}
