package io.wdd.func.xray.beans.xray;


import io.wdd.func.xray.beans.xray.transport.InboundObject;
import io.wdd.func.xray.beans.xray.transport.OutboundObject;
import io.wdd.func.xray.beans.xray.transport.TransportObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * https://github.com/LarryZeta/xray-manager/blob/master/src/main/java/cc/larryzeta/manager/entity/XrayConfig.java
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class XrayConfig {

    private LogObject log;
    private ApiObject api;
    private DnsObject dns;
    private PolicyObject policy;
    private List<InboundObject> inbounds;
    private List<OutboundObject> outbounds;
    private TransportObject transport;
    private RoutingObject routing;
    private ReverseObject reverse;

}
